zsh-snap icon indicating copy to clipboard operation
zsh-snap copied to clipboard

Current path not correctly display in zsh-snap parent folder

Open MartinDelille opened this issue 2 years ago • 2 comments

Describe the bug

I cloned zsh-snzp in the ~/dev/clone folder. Unfortunately, when I'm navigating to this folder the part of the prompt display ~znap instead of ~/dev/clone.

Steps To Reproduce

Last login: Sat Aug 27 15:38:30 on ttys010
{15:38}[ruby-2.7.2]~ ➭ cd dev/clone/zsh-snap
{15:39}[ruby-2.7.2]~[zsh-snap]:main ✓ ➭ cd ..
{15:39}[ruby-2.7.2]~znap ➭ cd ~/dev/clone
{15:39}[ruby-2.7.2]~znap ➭ cd
{15:39}[ruby-2.7.2]~ ➭ cd dev
{15:39}[ruby-2.7.2]~/dev ➭ cd clone
{15:39}[ruby-2.7.2]~znap ➭ cd ../md
{15:40}[ruby-2.7.2]~/dev/md ➭

Expected behavior

{15:43}[ruby-2.7.2]~ ➭ cd ~/dev/clone
{15:43}[ruby-2.7.2]~/dev/clone ➭

Observed behavior

Click to expand

Environment:

  • OS: macOS
  • Terminal: iTerm
  • Zsh version: 5.7.1
  • Repo version:
    • main c0fa1da Let znap source store plugin links in $XDG_STATE_HOME

MartinDelille avatar Aug 27 '22 13:08 MartinDelille

Ok looking at the README.md it has to do with named dirs

MartinDelille avatar Aug 27 '22 13:08 MartinDelille

It’s expected behavior, as documented in the part of the Readme that you linked to.

marlonrichert avatar Aug 29 '22 04:08 marlonrichert