mirror of
https://github.com/nmasur/dotfiles
synced 2025-06-02 04:05:52 +00:00
zellij function to do a gh run watch
This commit is contained in:
parent
f0add607e6
commit
f2e09c9adc
@ -34,6 +34,12 @@ in
|
|||||||
zellij pipe --plugin file:$(which zellij-switch.wasm) -- "--cwd $TARGET_DIR --layout default --session $(basename $TARGET_DIR)"
|
zellij pipe --plugin file:$(which zellij-switch.wasm) -- "--cwd $TARGET_DIR --layout default --session $(basename $TARGET_DIR)"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
gh-run = {
|
||||||
|
body = # fish
|
||||||
|
''
|
||||||
|
zellij action new-pane --start-suspended -- gh run watch
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -115,6 +121,16 @@ in
|
|||||||
close_on_exit = true;
|
close_on_exit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"bind \"Alt Shift w\"" = {
|
||||||
|
Run = {
|
||||||
|
_args = [
|
||||||
|
"${pkgs.fish}/bin/fish"
|
||||||
|
"-c"
|
||||||
|
"gh-run"
|
||||||
|
];
|
||||||
|
close_on_exit = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
"bind \"Super Shift ]\"" = {
|
"bind \"Super Shift ]\"" = {
|
||||||
GoToNextTab = { };
|
GoToNextTab = { };
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user