diff options
Diffstat (limited to 'hooks/post-update')
-rw-r--r-- | hooks/post-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-update b/hooks/post-update index cc4ed71..c5bd57f 100644 --- a/hooks/post-update +++ b/hooks/post-update @@ -28,6 +28,6 @@ zcompile functions.zwc functions/* zcompile completions.zwc completions/* # Preserve old history -if [[ ! -e ~/var/cache/zsh/history ]] { +if [[ -e ~/.histfile && ! -e ~/var/cache/zsh/history ]] { cp ~/.histfile ~/var/cache/zsh/history } |