[ZSH] Safe wrappers alias
This commit is contained in:
committed by
Fabian Ising
parent
179358978e
commit
8f29cf34bd
@@ -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 {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user