fix fish funcs
This commit is contained in:
parent
cbc5903630
commit
3ee311b2c6
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function bom --wraps=bombadillo --description 'alias bom=bombadillo'
|
||||
bombadillo $argv;
|
||||
end
|
|
@ -0,0 +1,6 @@
|
|||
function cat --wraps=ccat --description 'alias cat=ccat'
|
||||
if which ccat > /dev/null
|
||||
ccat $argv;
|
||||
else
|
||||
cat $argv;
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function codespell --wraps='codespell --skip="venv,.git,*.pyc,*.png,*.PNG,*.gif"' --wraps='codespell --skip="venv,.git,*.pyc,*.png,*.PNG,*.gif",.vim' --description 'alias codespell=codespell --skip="venv,.git,*.pyc,*.png,*.PNG,*.gif",.vim'
|
||||
command codespell --skip="venv,.git,*.pyc,*.png,*.PNG,*.gif",.vim $argv;
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function hdi --wraps='howdoi -c' --description 'alias hdi=howdoi -c'
|
||||
howdoi -c $argv;
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
function hellofish
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function newvenv --wraps='python3 -m virtualenv venv' --wraps='python3 -m virtualenv venv && source ./venv/activate.fish' --wraps='python3 -m virtualenv venv && source ./venv/bin/activate.fish' --description 'alias newvenv=python3 -m virtualenv venv && source ./venv/bin/activate.fish'
|
||||
python3 -m virtualenv venv && source ./venv/bin/activate.fish $argv;
|
||||
end
|
|
@ -1,5 +1,5 @@
|
|||
function rm --wraps=trash --description 'alias rm=trash'
|
||||
if which trash
|
||||
if which trash > /dev/null
|
||||
trash $argv;
|
||||
else
|
||||
/usr/bin/rm $argv;
|
||||
|
|
Loading…
Reference in New Issue