diff options
-rw-r--r-- | dot_zshenv | 3 | ||||
-rw-r--r-- | dot_zshrc | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/dot_zshenv b/dot_zshenv index 8821f87..27779ba 100644 --- a/dot_zshenv +++ b/dot_zshenv @@ -8,9 +8,6 @@ setopt hist_verify # show command with history expansion to user befo setopt share_history # share command history data setopt hist_find_no_dups # filter out (even non-contiguous) entries when from history search unsetopt flowcontrol # do not use ^S/^Q for flor control -export HISTFILE="${HOME}/.zsh_history" -export HISTSIZE=1000000 -export SAVEHIST=1000000 # Common nice-to-haves setopt auto_cd # Auto-cd into directory if only directory name used as command diff --git a/dot_zshrc b/dot_zshrc index d62132d..13b626a 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,3 +1,8 @@ +# Set up nice and lengthy history +export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history" +export HISTSIZE=1000000 +export SAVEHIST=1000000 + # Simple prompt PROMPT="%F{15}%K{4}%n@%M:%~%f%k " RPROMPT="%(?.%F{10}%?.%F{9}%?)%f %T" |