diff --git a/bash/history b/bash/history index 425f97f..b9a3b92 100644 --- a/bash/history +++ b/bash/history @@ -13,4 +13,7 @@ export HISTCONTROL=ignoreboth # more! export HISTSIZE=10000 +# file +export HISTFILE=~/.history + # vim: ft=bash diff --git a/zsh/history b/zsh/history index 6d15dec..5ac6c15 100644 --- a/zsh/history +++ b/zsh/history @@ -7,7 +7,7 @@ setopt hist_verify HISTSIZE=100000 SAVEHIST=100000 -HISTFILE=~/.zsh_history +HISTFILE=~/.history HISTORY_IGNORE="(^ +|ls|bg|fg|pwd|exit|cd ..)" # vim: ft=zsh