forked from extern/nix-config
fish: Alias mv to mv -i
This is for peace of mind so we avoid accidentally moving something where something already exists.
This commit is contained in:
parent
6c84ba914c
commit
b0d63997db
@ -35,6 +35,9 @@ fish_default_key_bindings
|
||||
alias ls="exa --group-directories-first -I 'lost+found'"
|
||||
alias tree="exa --group-directories-first --long --tree -I 'node_modules|.git|public|lost+found'"
|
||||
|
||||
# Prevent accidents
|
||||
alias mv="mv -i"
|
||||
|
||||
# Abbreviations are aliases that expand
|
||||
if not set -q set_abbr
|
||||
set -U set_abbr
|
||||
|
Loading…
Reference in New Issue
Block a user