- commit
- e8bdbcd
- parent
- 0c58829
- author
- Eric Bower
- date
- 2025-11-26 14:55:08 -0500 EST
refactor: use zmx instead of shpool
3 files changed,
+9,
-25
+9,
-0
1@@ -66,3 +66,12 @@ end
2 if type -q direnv
3 direnv hook fish | source
4 end
5+
6+functions -c fish_prompt _original_fish_prompt 2>/dev/null
7+
8+function fish_prompt --description 'Write out the prompt'
9+ if set -q ZMX_SESSION
10+ echo -n "[$ZMX_SESSION] "
11+ end
12+ _original_fish_prompt
13+end
+0,
-3
1@@ -53,9 +53,6 @@ map("n", "<leader>e", vim.diagnostic.open_float, opts)
2 map("n", "<leader>y", function() -- copy relative filepath to clipboard
3 vim.fn.setreg("+", vim.fn.expand("%"))
4 end)
5-map("n", "<leader>l", function() -- https://github.com/shell-pool/shpool/issues/240#issuecomment-3097566679
6- io.stdout:write("\027[?2048h")
7-end, opts)
8 map("n", "<leader>r", function() -- toggle lsp loclist
9 local loclist_win = vim.fn.getloclist(0, { winid = 0 }).winid
10 if loclist_win > 0 then
+0,
-22
1@@ -13,17 +13,6 @@ Host kings
2 User erock
3 IdentityFile ~/.ssh/id_ed25519
4
5-Host = k.*
6- HostName 192.168.88.109
7- User erock
8- IdentityFile ~/.ssh/id_ed25519
9-
10- RemoteCommand shpool attach -f %k
11- RequestTTY yes
12- ControlPath ~/.ssh/cm-%r@%h:%p
13- ControlMaster auto
14- ControlPersist 10m
15-
16 Host = d.*
17 HostName 192.168.88.109
18 User erock
19@@ -40,17 +29,6 @@ Host fox
20 User erock
21 IdentityFile ~/.ssh/id_ed25519
22
23-Host = f.*
24- HostName 192.168.88.232
25- User erock
26- IdentityFile ~/.ssh/id_ed25519
27-
28- RemoteCommand shpool attach -f %k
29- RequestTTY yes
30- ControlPath ~/.ssh/cm-%r@%h:%p
31- ControlMaster auto
32- ControlPersist 10m
33-
34 Host xor
35 HostName 192.168.88.193
36 User erock