.zshrc

changeset 835
49826fe1c850
parent 808
31133d3dbc98
child 950
7980dce66a7a
equal deleted inserted replaced
833:b47cbc3b5db1 835:49826fe1c850
7 # DISABLE_AUTO_TITLE="true" 7 # DISABLE_AUTO_TITLE="true"
8 COMPLETION_WAITING_DOTS="true" 8 COMPLETION_WAITING_DOTS="true"
9 DISABLE_UNTRACKED_FILES_DIRTY="true" 9 DISABLE_UNTRACKED_FILES_DIRTY="true"
10 10
11 omz_plugins=( 11 omz_plugins=(
12 plugins/common-aliases
13 plugins/colored-man-pages 12 plugins/colored-man-pages
14 plugins/vi-mode 13 plugins/vi-mode
15 ) 14 )
16 15
17 zsh_plugins=( 16 zsh_plugins=(
35 fi 34 fi
36 fi 35 fi
37 36
38 KEYTIMEOUT=1 37 KEYTIMEOUT=1
39 REPORTTIME=5 38 REPORTTIME=5
39 HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"
40 40
41 setopt list_packed 41 setopt list_packed
42 setopt correct 42 setopt correct
43 setopt hist_reduce_blanks 43 setopt hist_reduce_blanks
44 setopt hist_save_no_dups 44 setopt hist_save_no_dups
45 setopt interactive_comments 45 setopt interactive_comments
46 46
47 export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help" 47 # Make zsh know about hosts already accessed by SSH
48 zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
48 49
49 # Altered from what's shown on Arch wiki 50 # Altered from what's shown on Arch wiki
50 [[ -n "${terminfo[khome]}" ]] && bindkey -- "${terminfo[khome]}" beginning-of-line 51 [[ -n "${terminfo[khome]}" ]] && bindkey -- "${terminfo[khome]}" beginning-of-line
51 [[ -n "${terminfo[kend]}" ]] && bindkey -- "${terminfo[kend]}" end-of-line 52 [[ -n "${terminfo[kend]}" ]] && bindkey -- "${terminfo[kend]}" end-of-line
52 [[ -n "${terminfo[kich1]}" ]] && bindkey -- "${terminfo[kich1]}" overwrite-mode 53 [[ -n "${terminfo[kich1]}" ]] && bindkey -- "${terminfo[kich1]}" overwrite-mode

mercurial