fish: only source aliases if interactive

This commit is contained in:
dogeystamp 2024-03-16 15:19:49 -04:00
parent 649725f483
commit d3413eee28
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

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