diff options
Diffstat (limited to 'hooks/post-update')
-rw-r--r-- | hooks/post-update | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/post-update b/hooks/post-update index d06d877..56f9956 100644 --- a/hooks/post-update +++ b/hooks/post-update @@ -31,3 +31,8 @@ echo export MAKEFLAGS=\ cd $PDIR/zsh/etc zcompile functions.zwc functions/* zcompile completions.zwc completions/* + +# Preserve old history +if [[ ! -e ~/var/cache/zsh/history ]] { + cp ~/.histfile ~/var/cache/zsh/history +} |