Every time I try to make my Zsh history file (.zhistory
file) a symbolic link to a file (previously existing .zhistory
file) that lives in another folder, Zsh deletes the symbolic link and makes it a regular file.
I have tried creating the symbolic link in Bash and then switching back to Zsh, but Zsh will still always remove the link and copy the file instead.
Why is this? How can I have my .zshistory
file live somewhere else ? (in my case a git repository not located in the home directory)
zsh
is recreating the file each time. – vonbrand Jan 30 '14 at 19:44