`pwd` in `$HOME` path doesn't seem to display correctly
max-sixty opened this issue · 0 comments
max-sixty commented
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](https://private-user-images.githubusercontent.com/5635139/308650059-45ce02e0-469f-44de-8141-8fc6c189598a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA1NzI4NzgsIm5iZiI6MTcxMDU3MjU3OCwicGF0aCI6Ii81NjM1MTM5LzMwODY1MDA1OS00NWNlMDJlMC00NjlmLTQ0ZGUtODE0MS04ZmM2YzE4OTU5OGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMTZUMDcwMjU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTM5YTM4NzMyZWRjZTFlMDQ3OTcyZDYyMjY0OGUzMDVlZTEzNjc0ZTRjYjdmYmRhMzBjYjA3MmY1ZTIyZmNkYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.eP2SfrCiuJnBkLag72-RgjUmb25DuYmh9eC3jP7Gnpc)
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