Fish: more wraps

This commit is contained in:
Phantop 2020-08-23 12:11:47 -04:00
parent b26ff7ec97
commit e1e70745b3
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
function cd
function cd -w cd
builtin cd (realpath $argv 2> /dev/null)
end

View File

@ -1,3 +1,3 @@
function compress
function compress -w 7z
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on (pwd)/(basename $argv | rev | cut -f 2- -d '.' | rev).7z $argv
end

View File

@ -1,3 +1,3 @@
function dl --wraps=aria2c
function dl -w aria2c
test $argv && aria2c --file-allocation=none -c -x 16 -s 16 $argv || cd ~/Downloads/
end