about summary refs log tree commit diff
path: root/home/shell/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/shell/fish/functions/rgerrit.fish6
1 files changed, 0 insertions, 6 deletions
diff --git a/home/shell/fish/functions/rgerrit.fish b/home/shell/fish/functions/rgerrit.fish
deleted file mode 100644
index 3aed310..0000000
--- a/home/shell/fish/functions/rgerrit.fish
+++ /dev/null
@@ -1,6 +0,0 @@
-# gerrit runs on tahoe, and we ssh to it through its tailscale
-# network interface.
-function rgerrit --description "execute gerrit commands"
-  set -lx gerrit_host (tailscale status --json | jq -r '.Peer | map(select(.HostName == "tahoe"))[0].TailscaleIPs[0]')
-  ssh $gerrit_host -p 29418 gerrit $argv
-end