diff --git a/zsh/config.zsh b/zsh/config.zsh index 03d5ba2..d1f9ff2 100644 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -6,19 +6,21 @@ setopt LOCAL_TRAPS #setopt IGNORE_EOF setopt PROMPT_SUBST +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 + # history setopt HIST_VERIFY setopt EXTENDED_HISTORY setopt HIST_REDUCE_BLANKS +setopt SHARE_HISTORY setopt HIST_IGNORE_ALL_DUPS setopt INC_APPEND_HISTORY SHARE_HISTORY setopt APPEND_HISTORY setopt COMPLETE_ALIASES -#export PS1='%3~ ☠ ' -#export PS1='%3~$(git_info_for_prompt) ☠ ' - # make terminal command navigation sane again bindkey '^[^[[D' backward-word bindkey '^[^[[C' forward-word diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index 53dd035..5e46c96 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -1,7 +1,5 @@ export ZSH=$HOME/.dotfiles -export PROJECTS=~/projects - if [[ -d ~/gitprojects ]]; then export PROJECTS=~/gitprojects else