message if local history file
This commit is contained in:
parent
ce6990050d
commit
d33af58cb0
1 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# bip at command end
|
# bip at command end
|
||||||
function precmd() {echo -n -e "\a"}
|
function precmd() {
|
||||||
|
echo -n -e "\a"
|
||||||
|
if [ $_per_directory_history_is_global = false ]; then
|
||||||
|
echo "\e[31mUsing local history\e[39m"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# do not share history between terms...
|
# do not share history between terms...
|
||||||
unsetopt share_history
|
unsetopt share_history
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue