diff --git a/zsh/.zshrc b/zsh/.zshrc index 663c5f5..a1ec16c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -105,6 +105,10 @@ export LIBVIRT_DEFAULT_URI="qemu:///system" alias ls="ls --color=always" +# Use safecp/safemv from the tools-repo when available +(( $+commands[safecp] )) && alias cp=safecp +(( $+commands[safemv] )) && alias mv=safemv + delzip() { unzip -Z -1 "$@" | xargs -I{} rm -rf {} }