mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-28 15:25:55 +00:00
Fish: Make dl download when given args
This commit is contained in:
parent
ea1a7d7dc6
commit
f2e492b105
|
|
@ -1,4 +1,8 @@
|
||||||
# Defined in /tmp/fish.A1YqAp/dl.fish @ line 1
|
# Defined in /tmp/fish.0D6Y21/dl.fish @ line 2
|
||||||
function dl
|
function dl
|
||||||
|
if test $argv
|
||||||
|
wget $argv
|
||||||
|
else
|
||||||
cd ~/Downloads/
|
cd ~/Downloads/
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue