organise fish aliases

This commit is contained in:
Hedy Li 2021-04-16 05:11:09 +00:00
parent ca06168436
commit 529c99aeb8
13 changed files with 13 additions and 42 deletions

11
.aliases Normal file
View File

@ -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'

View File

@ -4,3 +4,5 @@ if command -sq links
else
bass 'export BROWSER=w3m'
end
source ~/.config/fish/config_local.fish
source ~/.aliases

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function bom --wraps=bombadillo --description 'alias bom=bombadillo'
bombadillo $argv;
end

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function clr --wraps=clear --description 'alias clr=clear'
clear $argv;
end

View File

@ -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

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function hdi --wraps='howdoi -c' --description 'alias hdi=howdoi -c'
howdoi -c $argv;
end

View File

@ -1,4 +0,0 @@
function hellofish
end

View File

@ -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

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function q --wraps=qalc --description 'alias q=qalc'
qalc $argv;
end

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function td --wraps=termdown --description 'alias td=termdown'
termdown $argv;
end

View File

@ -1,3 +0,0 @@
function x
exit $argv;
end

View File

@ -1,3 +0,0 @@
function xo
exit 0 $argv;
end

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function y --wraps=yadm --description 'alias y=yadm'
yadm $argv;
end