diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index 14f3835..68ef491 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -1,5 +1,6 @@ # dynamic swallow (dwm patch) function swal + return if command -v dwmswallow > /dev/null dwmswallow "$WINDOWID" $argv end @@ -7,6 +8,10 @@ end alias mpv='swal -c mpv; command mpv' +# prevent clobbering files +alias mv='mv -n' +alias cp='cp -n' + # run this before opening, e.g., mpv or zathura abbr -a -- ds swal;