Автодополнение
This commit is contained in:
parent
6c1fe655ff
commit
aaf9ef9059
12
options.zsh
Normal file
12
options.zsh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Автодополнение
|
||||||
|
autoload -Uz compinit
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user