IlanCosman/tide

`pwd` in `$HOME` path doesn't seem to display correctly

max-sixty opened this issue · 0 comments

Describe the bug

I've been using tide for a few months — really liking it — but there's one problem that I haven't figured out:

  • When I'm in my $HOME, I get the full path of  /Users/maximilian
  • When I'm in a child, I get the incorrect ~
  • When I'm in a grandchild, I get the correct ~workspace/prql

I expected this to be a widespread bug but I can't find any issues about it. But is it just me? I don't think I've done anything special / didn't think I had anything abnormal set. Any ideas of where to start looking?

Steps to reproduce

In $HOME — note the full path:

╭─ I     /Users/maximilian                                                                                                 
╰─ pwd
/Users/maximilian

In a child path — note the bare ~ in the prompt, which is incorrect


╭─ I     ~                      
╰─ pwd
/Users/maximilian/workspace

A grandchild — this is the only correct one:


╭─ I     ~workspace/prql   main *2 +1 
╰─ pwd
/Users/maximilian/workspace/prql

For completeness:

echo $HOME
/Users/maximilian/

Screenshots

Screenshot of the items above:

image

Environment

Output of tide bug-report:

fish version: 3.7.0
tide version: 6.1.1
term: xterm-256color
os: MacOS
terminal emulator: Alacritty
fish startup: 33.21 millis
fisher plugins: IlanCosman/tide@v6