wezterm: ssh improvements
This commit is contained in:
parent
7cc7cbc821
commit
4d89d45b14
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,7 @@
|
||||||
(where t (t:find "^rexit%s")) {: title :icon " " :color colors.reddit}
|
(where t (t:find "^rexit%s")) {: title :icon " " :color colors.reddit}
|
||||||
(where t (t:find :^redis-)) {: title :icon " " :color "#DC372C"}
|
(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+%]%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+-dev")) {: title :icon " " :color "#0099CC"}
|
||||||
(where t (t:find "^%w+-dl%s")) {: title :icon " " :color "#22BC00"}
|
(where t (t:find "^%w+-dl%s")) {: title :icon " " :color "#22BC00"}
|
||||||
_ {: title :icon " " :color "#F8F8F2"}))
|
_ {: title :icon " " :color "#F8F8F2"}))
|
||||||
|
|
|
@ -98,6 +98,10 @@ in
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
wezssh = /* fish */ ''
|
||||||
|
wezterm cli spawn --domain-name "SSH:$argv"
|
||||||
|
'';
|
||||||
|
|
||||||
wget-browser = /* fish */ ''
|
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"
|
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
|
${lib.getExe pkgs.wget} -U "$user_agent" $argv
|
||||||
|
|
Loading…
Reference in a new issue