moving to nu and zellij
This commit is contained in:
parent
78dd7e1f0c
commit
33cdad5807
|
@ -1231,21 +1231,21 @@ in {
|
|||
show_banner: false
|
||||
}
|
||||
|
||||
def start_zellij [] {
|
||||
if 'ZELLIJ' not-in ($env | columns) {
|
||||
if 'ZELLIJ_AUTO_ATTACH' in ($env | columns) and $env.ZELLIJ_AUTO_ATTACH == 'true' {
|
||||
zellij attach -c
|
||||
} else {
|
||||
zellij
|
||||
}
|
||||
# def start_zellij [] {
|
||||
# if 'ZELLIJ' not-in ($env | columns) {
|
||||
# if 'ZELLIJ_AUTO_ATTACH' in ($env | columns) and $env.ZELLIJ_AUTO_ATTACH == 'true' {
|
||||
# zellij attach -c
|
||||
# } else {
|
||||
# zellij
|
||||
# }
|
||||
|
||||
if 'ZELLIJ_AUTO_EXIT' in ($env | columns) and $env.ZELLIJ_AUTO_EXIT == 'true' {
|
||||
exit
|
||||
}
|
||||
}
|
||||
}
|
||||
# if 'ZELLIJ_AUTO_EXIT' in ($env | columns) and $env.ZELLIJ_AUTO_EXIT == 'true' {
|
||||
# exit
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
start_zellij
|
||||
# start_zellij
|
||||
'';
|
||||
};
|
||||
environmentVariables = { EDITOR = ''"emacsclient -t"''; };
|
||||
|
@ -1319,12 +1319,18 @@ in {
|
|||
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
enableNushellIntegration = false;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
|
||||
programs.carapace = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
|
||||
# programs.qutebrowser.enable = true;
|
||||
|
@ -1407,7 +1413,7 @@ in {
|
|||
padding.y = 10;
|
||||
dynamic_padding = true;
|
||||
};
|
||||
terminal.shell.program = "fish";
|
||||
terminal.shell.program = "zellij";
|
||||
font = {
|
||||
normal = {
|
||||
family = "VictorMono Nerd Font";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env fish
|
||||
#!/usr/bin/env nu
|
||||
|
||||
set file $argv[1]
|
||||
set new-file
|
||||
|
|
Loading…
Reference in a new issue