diff options
Diffstat (limited to 'fish2024')
-rw-r--r-- | fish2024/config.fish | 2 | ||||
-rw-r--r-- | fish2024/functions/k5days.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/sync-tunnel.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/tcomptoday.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/ttags.fish | 4 |
5 files changed, 18 insertions, 0 deletions
diff --git a/fish2024/config.fish b/fish2024/config.fish index 8e00871..a3a8260 100644 --- a/fish2024/config.fish +++ b/fish2024/config.fish @@ -11,3 +11,5 @@ if test -z (pgrep ssh-agent) set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK set -Ux SSH_AGENT_PID $SSH_AGENT_PID end + +. ~/perl5/perlbrew/etc/perlbrew.fish diff --git a/fish2024/functions/k5days.fish b/fish2024/functions/k5days.fish new file mode 100644 index 0000000..9fc339b --- /dev/null +++ b/fish2024/functions/k5days.fish @@ -0,0 +1,4 @@ +function k5days --wraps='khal list today 5 days' --description 'alias k5days=khal list today 5 days' + khal list today 5 days $argv + +end diff --git a/fish2024/functions/sync-tunnel.fish b/fish2024/functions/sync-tunnel.fish new file mode 100644 index 0000000..ff17ee5 --- /dev/null +++ b/fish2024/functions/sync-tunnel.fish @@ -0,0 +1,4 @@ +function sync-tunnel --wraps='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net' --description 'alias sync-tunnel=ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net' + ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net $argv + +end diff --git a/fish2024/functions/tcomptoday.fish b/fish2024/functions/tcomptoday.fish new file mode 100644 index 0000000..674c23b --- /dev/null +++ b/fish2024/functions/tcomptoday.fish @@ -0,0 +1,4 @@ +function tcomptoday --wraps='task end.after:today-1d completed' --description 'alias tcomptoday=task end.after:today-1d completed' + task end.after:today-1d completed $argv + +end diff --git a/fish2024/functions/ttags.fish b/fish2024/functions/ttags.fish new file mode 100644 index 0000000..09667f1 --- /dev/null +++ b/fish2024/functions/ttags.fish @@ -0,0 +1,4 @@ +function ttags --wraps='task rc.list.all.tags=1 tags' --description 'alias ttags=task rc.list.all.tags=1 tags' + task rc.list.all.tags=1 tags $argv + +end |