This commit is contained in:
Andrei Astafev 2020-12-27 15:36:23 +03:00
parent 2631d43e21
commit ecbcc2e8cd
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# Dotdrop
alias dotdrop="$HOME/etc/dotdrop.sh" --cfg="$HOME/etc/config.yaml"
# zmv
alias zcp='zmv -C'
alias zln='zmv -L'
# APT
alias aptu='sudo apt-get update'
alias aptn='sudo apt-get update && sudo apt-get dist-upgrade'

View File

@ -4,6 +4,7 @@
# Автодополнение
autoload -Uz compinit
autoload zmv
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