Enable nushell by default

This commit is contained in:
2025-08-19 00:34:18 +08:00
parent 5f99f4bbc4
commit 2835a0a72e
4 changed files with 31 additions and 4 deletions

View File

@@ -35,6 +35,11 @@ in
programs.zsh.shellAliases = {
lg = "lazygit";
js = "jj status";
jd = "jj diff";
jn = "jj new";
jf = "jj git fetch";
jp = "jj git push";
};
programs.git = {
ignores = [

View File

@@ -18,6 +18,11 @@ in
programs = {
nushell = {
enable = true;
configFile.text = ''
$env.config.edit_mode = "vi"
$env.config.buffer_editor = "nvim"
$env.config.show_banner = false
'';
};
nix-your-shell = {
enable = true;
@@ -33,12 +38,12 @@ in
};
eza = {
enable = true;
enableNushellIntegration = true;
enableNushellIntegration = false;
extraOptions = [ "--group-directories-first" ];
};
starship = {
enable = true;
enableNushellIntegration = false;
enableNushellIntegration = true;
settings = {
nodejs.disabled = true;
package.disabled = true;
@@ -48,7 +53,7 @@ in
};
zoxide = {
enableNushellIntegration = false;
enableNushellIntegration = true;
};
};
};