[ZSH] Safe wrappers alias
This commit is contained in:
1 parent
179358978e
commit
8f29cf34bd
1 file changed
+4
@@ -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