projectile icon indicating copy to clipboard operation
projectile copied to clipboard

projectile discovers projects in home as absolute paths

Open Atemu opened this issue 1 year ago • 0 comments

For context: I am on Linux and moved my home to /Users/. $HOME reflects this fact:

ELISP> (getenv "HOME")
"/Users/atemu"

Expected behavior

Projects in home should be discovered as ~/...

Actual behavior

Project paths are /Users/atemu/...

Steps to reproduce the problem

  1. Have home in /Users/
  2. Set projectile to auto-discovery projects in ~/Projects/
  3. Open Emacs

Environment & Version information

Projectile version information

Projectile 20240212.1100

Emacs version

GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0,
Xaw3d scroll bars)

Operating system

NixOS x86_64-linux

Atemu avatar Apr 08 '24 16:04 Atemu