message if local history file
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user