1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-10 00:45:32 +00:00
dotfiles/.config/fish/functions/dl.fish

9 lines
171 B
Fish
Raw Normal View History

# Defined in /tmp/fish.BCfXZv/dl.fish @ line 2
2018-11-15 01:01:37 +00:00
function dl
2019-03-25 23:24:01 +00:00
if test $argv
aria2c --file-allocation=none -c -x 16 -s 16 $argv
2019-03-25 23:24:01 +00:00
else
2018-11-15 01:01:37 +00:00
cd ~/Downloads/
2019-03-25 23:24:01 +00:00
end
2018-11-15 01:01:37 +00:00
end