more zsh config updates
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
export ZSH=$HOME/.dotfiles
|
||||
|
||||
export PROJECTS=~/projects
|
||||
|
||||
if [[ -d ~/gitprojects ]]; then
|
||||
export PROJECTS=~/gitprojects
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user