[ZSH] Gate safe wrappers behind shared config
This commit is contained in:
@@ -134,9 +134,11 @@ export LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||
|
||||
alias ls="ls --color=always"
|
||||
|
||||
if [ "$shared_config" -eq 0 ]; then
|
||||
# Use safecp/safemv from the tools-repo when available
|
||||
(( $+commands[safecp] )) && alias cp=safecp
|
||||
(( $+commands[safemv] )) && alias mv=safemv
|
||||
fi
|
||||
|
||||
delzip() {
|
||||
unzip -Z -1 "$@" | xargs -I{} rm -rf {}
|
||||
|
||||
Reference in New Issue
Block a user