Last active
July 27, 2016 15:15
-
-
Save kassick/662e23fe8a8f662433fd8df6348c1250 to your computer and use it in GitHub Desktop.
ZSH no chaselinks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Failure unexpected | |
# pwd reports that CWD is ~/.oh-my-zsh , the user | |
# would expect that the process executing 'cp' would run with cwd ~/.oh-my-zsh | |
# but zsh forks the process on the realpath -- which is odd from a user perspective | |
# specially due to the output of pwd | |
Voyager% pwd | |
/home/kassick | |
Voyager% setopt nochaselinks | |
Voyager% cd .oh-my-zsh | |
Voyager% pwd | |
/home/kassick/.oh-my-zsh | |
Voyager% cp ../.zshrc _zshrc | |
cp: impossível obter estado de '../.zshrc': No such file or directory | |
Voyager% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment