zsh: add wssh function
This commit is contained in:
parent
af65cc91b1
commit
df3b600c05
4 changed files with 2 additions and 11 deletions
|
@ -255,10 +255,6 @@
|
||||||
:action :OpenLinkAtMouseCursor}]
|
:action :OpenLinkAtMouseCursor}]
|
||||||
;; Scrollback
|
;; Scrollback
|
||||||
:scrollback_lines 5000
|
:scrollback_lines 5000
|
||||||
;; Launch Menu
|
|
||||||
:launch_menu [{:label :Btop++ :args [_G.programs.btop]}
|
|
||||||
{:label :bash :args [_G.shells.bash]}
|
|
||||||
{:label :zsh :args [_G.shells.zsh]}]
|
|
||||||
;; Other
|
;; Other
|
||||||
:front_end :WebGpu
|
:front_end :WebGpu
|
||||||
:max_fps 120
|
:max_fps 120
|
||||||
|
|
|
@ -10,12 +10,7 @@ in
|
||||||
|
|
||||||
extraConfig = /* lua */ ''
|
extraConfig = /* lua */ ''
|
||||||
_G.shells = {
|
_G.shells = {
|
||||||
bash = '${pkgs.bash.outPath}/bin/bash',
|
zsh = '${pkgs.zsh.outPath}/bin/zsh'
|
||||||
zsh = '${pkgs.zsh.outPath}/bin/zsh',
|
|
||||||
};
|
|
||||||
|
|
||||||
_G.programs = {
|
|
||||||
btop = '${pkgs.btop.outPath}/bin/btop',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
local cfg = require('config');
|
local cfg = require('config');
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
wezterm cli spawn --domain-name "SSH:$1"
|
|
1
home/programs/zsh/functions/wssh
Normal file
1
home/programs/zsh/functions/wssh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
wezterm cli spawn --domain-name "SSHMUX:$1"
|
Loading…
Reference in a new issue