Skip to content

Instantly share code, notes, and snippets.

@kassick
Created July 27, 2016 15:13
Show Gist options
  • Save kassick/131e81ef39a44ab2887683e6051b294d to your computer and use it in GitHub Desktop.
Save kassick/131e81ef39a44ab2887683e6051b294d to your computer and use it in GitHub Desktop.
ZSH chaselinks
# Failure to copy here is expected, since CWD is clearly not ~/.oh-my-zsh
# Caveat emptor -- the user chooses to chase symlinks, he/she must track
# the current working directory
Voyager% setopt chaselinks
Voyager% pwd
/home/kassick
Voyager% cd .oh-my-zsh
Voyager% pwd
/home/kassick/Sources/dotfiles/dot/oh-my-zsh
Voyager% cp ../.zshrc _zshrc
cp: impossível obter estado de '../.zshrc': No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment