1
0
Fork 0

wezterm: ssh improvements

This commit is contained in:
Daniel Kempkens 2023-12-27 23:49:39 +01:00
parent 7cc7cbc821
commit 4d89d45b14
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 5 additions and 0 deletions

View file

@ -53,6 +53,7 @@
(where t (t:find "^rexit%s")) {: title :icon " " :color colors.reddit}
(where t (t:find :^redis-)) {: title :icon " " :color "#DC372C"}
(where t (t:find "^%[%w+%]%s")) {: title :icon " " :color colors.ssh}
(where t (t:find "^%w+@%w+:%s")) {: title :icon " " :color colors.ssh}
(where t (t:find "^%w+-dev")) {: title :icon " " :color "#0099CC"}
(where t (t:find "^%w+-dl%s")) {: title :icon " " :color "#22BC00"}
_ {: title :icon " " :color "#F8F8F2"}))

View file

@ -98,6 +98,10 @@ in
end
'';
wezssh = /* fish */ ''
wezterm cli spawn --domain-name "SSH:$argv"
'';
wget-browser = /* fish */ ''
set user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15"
${lib.getExe pkgs.wget} -U "$user_agent" $argv