organise fish aliases
This commit is contained in:
parent
ca06168436
commit
529c99aeb8
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
alias hdi=howdoi
|
||||||
|
alias x=exit
|
||||||
|
alias y=yadm
|
||||||
|
alias td=termdown
|
||||||
|
alias clr=clear
|
||||||
|
alias syscu='systemctl --user'
|
||||||
|
alias codespell='codespell --skip="venv,.git,*.pyc,*.png,*.PNG,*.gif",.vim'
|
||||||
|
alias bom=bombadillo
|
||||||
|
alias newvenv='python3 -m virtualenv venv && source ./venv/bin/activate.fish'
|
|
@ -4,3 +4,5 @@ if command -sq links
|
||||||
else
|
else
|
||||||
bass 'export BROWSER=w3m'
|
bass 'export BROWSER=w3m'
|
||||||
end
|
end
|
||||||
|
source ~/.config/fish/config_local.fish
|
||||||
|
source ~/.aliases
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function bom --wraps=bombadillo --description 'alias bom=bombadillo'
|
|
||||||
bombadillo $argv;
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function clr --wraps=clear --description 'alias clr=clear'
|
|
||||||
clear $argv;
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
# 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
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function hdi --wraps='howdoi -c' --description 'alias hdi=howdoi -c'
|
|
||||||
howdoi -c $argv;
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
function hellofish
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
# 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,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function q --wraps=qalc --description 'alias q=qalc'
|
|
||||||
qalc $argv;
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function td --wraps=termdown --description 'alias td=termdown'
|
|
||||||
termdown $argv;
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function x
|
|
||||||
exit $argv;
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function xo
|
|
||||||
exit 0 $argv;
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Defined in - @ line 1
|
|
||||||
function y --wraps=yadm --description 'alias y=yadm'
|
|
||||||
yadm $argv;
|
|
||||||
end
|
|
Loading…
Reference in New Issue