mirror of
https://github.com/nmasur/dotfiles
synced 2025-12-03 06:02:42 +00:00
fix: zellij switch command on darwin
This commit is contained in:
@@ -123,9 +123,15 @@ in
|
|||||||
shared = {
|
shared = {
|
||||||
"bind \"Alt Shift s\"" = {
|
"bind \"Alt Shift s\"" = {
|
||||||
Run = {
|
Run = {
|
||||||
_args = [
|
_args =
|
||||||
(lib.getExe zellij-switch-to-last)
|
if pkgs.stdenv.isDarwin then
|
||||||
];
|
[
|
||||||
|
"env"
|
||||||
|
"PATH=${config.home.homeDirectory}/.nix-profile/bin:/usr/bin:/bin"
|
||||||
|
(lib.getExe zellij-switch-to-last)
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[ (lib.getExe zellij-switch-to-last) ];
|
||||||
close_on_exit = true;
|
close_on_exit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user