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

8 lines
124 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
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