aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-08 11:06:48 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-08 11:06:48 +0100
commit7ae00a7dd4cdd040fdf80ba090521a3801b29801 (patch)
treeb39ccb8ee0f6e7deaee9a49f46ad2c48980d9bf7 /fish2024
parent1174f3a691918f4218fc16efdabb1789ac474134 (diff)
parent394227c36ba6d58bd6b9b541e550c2af9c04e552 (diff)
Merge with upstream after long period away on x220
Diffstat (limited to 'fish2024')
-rw-r--r--fish2024/config.fish2
-rw-r--r--fish2024/functions/k5days.fish4
-rw-r--r--fish2024/functions/sync-tunnel.fish4
-rw-r--r--fish2024/functions/tcomptoday.fish4
-rw-r--r--fish2024/functions/ttags.fish4
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