Added zsh
This commit is contained in:
18
private_dot_config/zsh/dot_zshrc
Normal file
18
private_dot_config/zsh/dot_zshrc
Normal file
@ -0,0 +1,18 @@
|
||||
source "$ZDOTDIR/history.zsh"
|
||||
source "$ZDOTDIR/alias.zsh"
|
||||
source "$ZDOTDIR/plugins.zsh"
|
||||
|
||||
# Bind Ctrl-left/right arrow to move back/formward one word
|
||||
# https://unix.stackexchange.com/a/140499
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
|
||||
# Enable the autocompletion and make it case insensitive
|
||||
# https://superuser.com/a/1092328
|
||||
autoload -U compinit && compinit
|
||||
zstyle ":completion:*" matcher-list "m:{a-z}={A-Za-z}"
|
||||
|
||||
# Load `ls` color when autocompleting directories
|
||||
# https://unix.stackexchange.com/a/447002
|
||||
eval "$(dircolors)"
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
Reference in New Issue
Block a user