more zsh config updates
This commit is contained in:
@@ -6,19 +6,21 @@ setopt LOCAL_TRAPS
|
|||||||
#setopt IGNORE_EOF
|
#setopt IGNORE_EOF
|
||||||
setopt PROMPT_SUBST
|
setopt PROMPT_SUBST
|
||||||
|
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
|
||||||
# history
|
# history
|
||||||
setopt HIST_VERIFY
|
setopt HIST_VERIFY
|
||||||
setopt EXTENDED_HISTORY
|
setopt EXTENDED_HISTORY
|
||||||
setopt HIST_REDUCE_BLANKS
|
setopt HIST_REDUCE_BLANKS
|
||||||
|
setopt SHARE_HISTORY
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
setopt INC_APPEND_HISTORY SHARE_HISTORY
|
setopt INC_APPEND_HISTORY SHARE_HISTORY
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
|
|
||||||
setopt COMPLETE_ALIASES
|
setopt COMPLETE_ALIASES
|
||||||
|
|
||||||
#export PS1='%3~ ☠ '
|
|
||||||
#export PS1='%3~$(git_info_for_prompt) ☠ '
|
|
||||||
|
|
||||||
# make terminal command navigation sane again
|
# make terminal command navigation sane again
|
||||||
bindkey '^[^[[D' backward-word
|
bindkey '^[^[[D' backward-word
|
||||||
bindkey '^[^[[C' forward-word
|
bindkey '^[^[[C' forward-word
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
export ZSH=$HOME/.dotfiles
|
export ZSH=$HOME/.dotfiles
|
||||||
|
|
||||||
export PROJECTS=~/projects
|
|
||||||
|
|
||||||
if [[ -d ~/gitprojects ]]; then
|
if [[ -d ~/gitprojects ]]; then
|
||||||
export PROJECTS=~/gitprojects
|
export PROJECTS=~/gitprojects
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user