Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
max-sixty opened this issue Feb 28, 2024 · 0 comments
Open

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

max-sixty opened this issue Feb 28, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@max-sixty
Copy link

max-sixty commented Feb 28, 2024

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
@max-sixty max-sixty added the 🐛 bug Something isn't working label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant