Add cdiff and safe scp alias
This commit is contained in:
committed by
Fabian Ising
parent
bd8d29144f
commit
2f4de26581
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user