own per directory history
This commit is contained in:
parent
d33af58cb0
commit
3ddfec2a5a
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
1
zshrc
1
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue