feat: Rework zellij fish support
- disable default fish shell integration - disable auto attach - only enable integration outside emacs
This commit is contained in:
parent
b4bfaf0e18
commit
bfcd07a904
1 changed files with 5 additions and 3 deletions
|
@ -52,6 +52,10 @@ in
|
||||||
package = pkgs.fish;
|
package = pkgs.fish;
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
if test -z $INSIDE_EMACS ;
|
||||||
|
eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect)
|
||||||
|
end
|
||||||
|
|
||||||
any-nix-shell fish --info-right | source
|
any-nix-shell fish --info-right | source
|
||||||
function starship_transient_rprompt_func
|
function starship_transient_rprompt_func
|
||||||
set width "$(calc "($(tput cols)-12)/2")"
|
set width "$(calc "($(tput cols)-12)/2")"
|
||||||
|
@ -254,8 +258,6 @@ in
|
||||||
|
|
||||||
zellij = {
|
zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
|
@ -299,7 +301,7 @@ in
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
TERMINAL = "alacritty";
|
TERMINAL = "alacritty";
|
||||||
ZELLIJ_AUTO_EXIT = "true";
|
ZELLIJ_AUTO_EXIT = "true";
|
||||||
ZELLIJ_AUTO_ATTACH = "true";
|
ZELLIJ_AUTO_ATTACH = "false";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Reference in a new issue