diff --git a/aliases.zsh b/aliases.zsh index e0eedf6..14fe3fc 100644 --- a/aliases.zsh +++ b/aliases.zsh @@ -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' diff --git a/options.zsh b/options.zsh index 8279855..ef9629b 100644 --- a/options.zsh +++ b/options.zsh @@ -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