own per directory history
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# bip at command end
|
# bip at command end
|
||||||
function precmd() {
|
function precmd() {
|
||||||
echo -n -e "\a"
|
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"
|
echo "\e[31mUsing local history\e[39m"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
1
zshrc
1
zshrc
@@ -14,7 +14,6 @@ if ! zgen saved; then
|
|||||||
zgen oh-my-zsh plugins/rsync
|
zgen oh-my-zsh plugins/rsync
|
||||||
zgen oh-my-zsh plugins/systemadmin
|
zgen oh-my-zsh plugins/systemadmin
|
||||||
zgen oh-my-zsh plugins/z
|
zgen oh-my-zsh plugins/z
|
||||||
zgen load robbyrussell/oh-my-zsh plugins/per-directory-history/per-directory-history.zsh
|
|
||||||
|
|
||||||
# personnal configuration
|
# personnal configuration
|
||||||
zgen load hybris42/zsh hybris.zsh
|
zgen load hybris42/zsh hybris.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user