1
0
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:
Donovan Glover 2022-07-28 10:57:06 -04:00
parent 6c84ba914c
commit b0d63997db
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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