diff --git a/hybris.zsh b/hybris.zsh index defa80c..7c73a5d 100644 --- a/hybris.zsh +++ b/hybris.zsh @@ -1,7 +1,7 @@ # bip at command end function precmd() { echo -n -e "\a" - if [ $_per_directory_history_is_global = false ]; then + if [ "$HISTFILE" != "/home/hybris/.zsh_history" ]; then echo "\e[31mUsing local history\e[39m" fi } diff --git a/zshrc b/zshrc index ace478a..4e75fa7 100644 --- a/zshrc +++ b/zshrc @@ -14,7 +14,6 @@ if ! zgen saved; then zgen oh-my-zsh plugins/rsync zgen oh-my-zsh plugins/systemadmin zgen oh-my-zsh plugins/z - zgen load robbyrussell/oh-my-zsh plugins/per-directory-history/per-directory-history.zsh # personnal configuration zgen load hybris42/zsh hybris.zsh