own per directory history

This commit is contained in:
2019-03-07 14:40:12 +01:00
parent d33af58cb0
commit 3ddfec2a5a
2 changed files with 1 additions and 2 deletions

View File

@@ -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
}