zmv
This commit is contained in:
parent
2631d43e21
commit
ecbcc2e8cd
@ -1,6 +1,10 @@
|
|||||||
# Dotdrop
|
# Dotdrop
|
||||||
alias dotdrop="$HOME/etc/dotdrop.sh" --cfg="$HOME/etc/config.yaml"
|
alias dotdrop="$HOME/etc/dotdrop.sh" --cfg="$HOME/etc/config.yaml"
|
||||||
|
|
||||||
|
# zmv
|
||||||
|
alias zcp='zmv -C'
|
||||||
|
alias zln='zmv -L'
|
||||||
|
|
||||||
# APT
|
# APT
|
||||||
alias aptu='sudo apt-get update'
|
alias aptu='sudo apt-get update'
|
||||||
alias aptn='sudo apt-get update && sudo apt-get dist-upgrade'
|
alias aptn='sudo apt-get update && sudo apt-get dist-upgrade'
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# Автодополнение
|
# Автодополнение
|
||||||
autoload -Uz compinit
|
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)
|
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
|
if [ $(date +'%j') != $updated_at ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user