mirror of https://github.com/Phantop/dotfiles
Fish: more wraps
This commit is contained in:
parent
b26ff7ec97
commit
e1e70745b3
|
@ -1,3 +1,3 @@
|
|||
function cd
|
||||
function cd -w cd
|
||||
builtin cd (realpath $argv 2> /dev/null)
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue