I symlink dot files from my home directory to actual files in a separate folder that is under git source control. This works great, but for some reason I am having problems with .zhistory
.
$ echo $HISTFILE
/Users/amelio/.zhistory
$ cd & ln -s $DOT_FILES_REPO/.zhistory .
$ fc -W && fc -R
After running the above, I see that .zhistory
is not a symlink after the last command. Why? And how can I have .zhistory
live in my home directory with a symlink to a different file?