2018-11-18 17:59:08 +00:00
|
|
|
# https://github.com/wting/autojump
|
|
|
|
# apt-get install autojump
|
|
|
|
[[ -s /usr/share/autojump/autojump.sh ]] && source /usr/share/autojump/autojump.sh
|
|
|
|
|
2018-11-17 16:59:31 +00:00
|
|
|
# Автодополнение
|
|
|
|
autoload -Uz compinit
|
2020-12-27 12:36:23 +00:00
|
|
|
autoload zmv
|
2018-11-17 16:59:31 +00:00
|
|
|
|
|
|
|
typeset -i updated_at=$(date +'%j' -r ~/.zcompdump 2>/dev/null || stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)
|
|
|
|
if [ $(date +'%j') != $updated_at ]; then
|
|
|
|
compinit -i
|
|
|
|
else
|
|
|
|
compinit -C -i
|
|
|
|
fi
|
|
|
|
|
|
|
|
zmodload -i zsh/complist
|
|
|
|
|
2021-03-11 09:08:10 +00:00
|
|
|
zstyle ':completion:*:processes' command 'ps -ax'
|
|
|
|
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;32'
|
|
|
|
zstyle ':completion:*:*:kill:*' menu yes select
|
|
|
|
zstyle ':completion:*:kill:*' force-list always
|
|
|
|
|
|
|
|
zstyle ':completion:*:processes-names' command 'ps -e -o comm='
|
|
|
|
zstyle ':completion:*:*:killall:*' menu yes select
|
|
|
|
zstyle ':completion:*:killall:*' force-list always
|
|
|
|
|