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