Add cdiff and safe scp alias

This commit is contained in:
Fabian Ising
2026-07-22 10:51:24 +02:00
committed by Fabian Ising
parent bd8d29144f
commit 2f4de26581
+2
View File
@@ -135,6 +135,7 @@ bindkey '^q' clear-screen
(( $+commands[nvim] )) && alias vim=nvim
alias sudo='sudo '
alias cgrep="grep --color=always"
alias cdiff="git diff --color-words --no-index"
(( $+commands[nvim] )) && export EDITOR='nvim'
(( $+commands[nvim] )) && export VISUAL='nvim'
@@ -147,6 +148,7 @@ 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
(( $+commands[safescp] )) && alias scp=safescp
fi
delzip() {