From bfbd0519921f338c624addaa845dab3a633c3e02 Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 16 Nov 2023 15:38:02 -0600 Subject: [PATCH 1/1] zshrc: add zmv aliases --- etc/zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index bfe0d9f..8fa153d 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -208,6 +208,12 @@ alias se=sudoedit # be paranoid alias cp='cp -ip' alias mv='mv -i' +alias zm='noglob zmv -WiM' +alias zc='noglob zmv -WiC' +alias zl='noglob zmv -WiL' +alias sm='noglob zmv -Wip"sudo mv"' +alias sc='noglob zmv -Wip"sudo cp"' +alias sl='noglob zmv -Wip"sudo ln"' if [[ "$OSTYPE" =~ '^freebsd' ]] { # don't confirm if only a few files are deleted alias rm='rm -I' -- 2.47.0