diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-04 19:13:50 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-04 19:13:50 +0000 |
commit | bf984979d5ea0c3de2cfde0a8d1d555fdf820f89 (patch) | |
tree | 2c3a383914928d09383bec954bc8ea50a186c2c3 /fish2024/functions | |
parent | 5247b5b67ce81cf0cd30426a975eed2711a63b89 (diff) |
Adds a bunch more fish aliai
Diffstat (limited to 'fish2024/functions')
-rw-r--r-- | fish2024/functions/annex-sync.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/bud.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/gitrepos.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/tkilled.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/xclip.fish | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/fish2024/functions/annex-sync.fish b/fish2024/functions/annex-sync.fish new file mode 100644 index 0000000..39ac15c --- /dev/null +++ b/fish2024/functions/annex-sync.fish @@ -0,0 +1,4 @@ +function annex-sync --wraps='cd ~/annex/ && git annex sync && cd -' --description 'alias annex-sync=cd ~/annex/ && git annex sync && cd -' + cd ~/annex/ && git annex sync && cd - $argv + +end diff --git a/fish2024/functions/bud.fish b/fish2024/functions/bud.fish new file mode 100644 index 0000000..28c2f31 --- /dev/null +++ b/fish2024/functions/bud.fish @@ -0,0 +1,4 @@ +function bud --wraps='cd ~/Budget/hledger' --description 'alias bud=cd ~/Budget/hledger' + cd ~/Budget/hledger $argv + +end diff --git a/fish2024/functions/gitrepos.fish b/fish2024/functions/gitrepos.fish new file mode 100644 index 0000000..ef940cd --- /dev/null +++ b/fish2024/functions/gitrepos.fish @@ -0,0 +1,4 @@ +function gitrepos --wraps='ssh git@joannalemon.com "tree -L 2 repositories"' --description 'alias gitrepos=ssh git@joannalemon.com "tree -L 2 repositories"' + ssh git@joannalemon.com "tree -L 2 repositories" $argv + +end diff --git a/fish2024/functions/tkilled.fish b/fish2024/functions/tkilled.fish new file mode 100644 index 0000000..2d89ec6 --- /dev/null +++ b/fish2024/functions/tkilled.fish @@ -0,0 +1,4 @@ +function tkilled --wraps='task +killlist list' --description 'alias tkilled=task +killlist list' + task +killlist list $argv + +end diff --git a/fish2024/functions/xclip.fish b/fish2024/functions/xclip.fish new file mode 100644 index 0000000..b552ec6 --- /dev/null +++ b/fish2024/functions/xclip.fish @@ -0,0 +1,4 @@ +function xclip --description 'alias xclip=xclip -selection c' + command xclip -selection c $argv + +end |