1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 20:02:47 +00:00
dotfiles/.config/fish/functions/dl.fish

8 lines
121 B
Fish
Raw Normal View History

2018-11-15 01:01:37 +00:00
function dl
2019-03-25 23:24:01 +00:00
if test $argv
2019-04-08 03:03:58 +00:00
aria2c --file-allocation=none -c -x 16 -s 16 $argv
else
2018-11-15 01:01:37 +00:00
cd ~/Downloads/
2019-04-08 03:03:58 +00:00
end
2018-11-15 01:01:37 +00:00
end