Add base zsh config from debian/ubuntu
This commit is contained in:
parent
673dd2bee8
commit
7afdf29e70
1
base-linux/.config/zsh/zshrc.d/base-linux.zsh
Normal file
1
base-linux/.config/zsh/zshrc.d/base-linux.zsh
Normal file
@ -0,0 +1 @@
|
||||
eval "$(dircolors -b)"
|
||||
@ -1,3 +0,0 @@
|
||||
setopt autocd
|
||||
setopt autopushd
|
||||
setopt pushdignoredups
|
||||
25
base/.config/zsh/zshrc.d/base.zsh
Normal file
25
base/.config/zsh/zshrc.d/base.zsh
Normal file
@ -0,0 +1,25 @@
|
||||
setopt autocd
|
||||
setopt autopushd
|
||||
setopt pushdignoredups
|
||||
setopt histignorealldups
|
||||
setopt sharehistory
|
||||
|
||||
# Use emacs keybindings even if our EDITOR is set to vi
|
||||
bindkey -e
|
||||
|
||||
zstyle ':completion:*' auto-description 'specify: %d'
|
||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||
zstyle ':completion:*' format 'Completing %d'
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' menu select=2
|
||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-colors ''
|
||||
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
||||
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
|
||||
zstyle ':completion:*' menu select=long
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle ':completion:*' use-compctl false
|
||||
zstyle ':completion:*' verbose true
|
||||
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
|
||||
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
@ -10,7 +10,7 @@ if [[ -d "${XDG_CONFIG_HOME}/zsh/env.d" ]]; then
|
||||
fi
|
||||
|
||||
if [ -d "${XDG_CONFIG_HOME}/zsh/zshrc.d" ]; then
|
||||
for file in "${XDG_CONFIG_HOME}"/zsh/zshrc.d/*.sh(N); do
|
||||
for file in "${XDG_CONFIG_HOME}"/zsh/zshrc.d/*.zsh(N); do
|
||||
if [ -r "$file" ]; then
|
||||
#shellcheck disable=1090
|
||||
. "$file"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user