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 = {
|
||||
"bind \"Alt Shift s\"" = {
|
||||
Run = {
|
||||
_args = [
|
||||
(lib.getExe zellij-switch-to-last)
|
||||
];
|
||||
_args =
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user