diff --git a/.config/fish/functions/dl.fish b/.config/fish/functions/dl.fish index 01b6b5f..eb0a677 100755 --- a/.config/fish/functions/dl.fish +++ b/.config/fish/functions/dl.fish @@ -1,4 +1,8 @@ -# Defined in /tmp/fish.A1YqAp/dl.fish @ line 1 +# Defined in /tmp/fish.0D6Y21/dl.fish @ line 2 function dl + if test $argv + wget $argv + else cd ~/Downloads/ + end end