mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat: nushell
This commit is contained in:
parent
e2209cea57
commit
5e47b924ef
3 changed files with 15 additions and 5 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
{...}: let
|
{...}: let
|
||||||
alias = {"v" = "nvim";};
|
nvimAlias = {"v" = "nvim";};
|
||||||
in {
|
in {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
programs.fish.shellAbbrs = alias;
|
programs.fish.shellAbbrs = nvimAlias;
|
||||||
programs.bash.shellAliases = alias;
|
programs.bash.shellAliases = nvimAlias;
|
||||||
programs.zsh.shellAliases = alias;
|
programs.zsh.shellAliases = nvimAlias;
|
||||||
|
programs.nushell.shellAliases = nvimAlias;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,7 @@
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
enableIonIntegration = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
g = "lazygit";
|
g = "lazygit";
|
||||||
ni = "touch";
|
ni = "touch";
|
||||||
cls = "clear";
|
cls = "clear";
|
||||||
ii = "open";
|
ii = "xdg-open";
|
||||||
aic = "aichat -s";
|
aic = "aichat -s";
|
||||||
aicc = "aichat -c";
|
aicc = "aichat -c";
|
||||||
nrs = "sudo nixos-rebuild switch --flake ~/.dotfiles/nixcfgs";
|
nrs = "sudo nixos-rebuild switch --flake ~/.dotfiles/nixcfgs";
|
||||||
|
|
@ -27,5 +27,12 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = commonAliases;
|
shellAliases = commonAliases;
|
||||||
};
|
};
|
||||||
|
programs.nushell = {
|
||||||
|
enable = true;
|
||||||
|
shellAliases = commonAliases;
|
||||||
|
extraConfig = ''
|
||||||
|
$env.config.show_banner = false
|
||||||
|
'';
|
||||||
|
};
|
||||||
programs.zed-editor.extensions = ["fish"];
|
programs.zed-editor.extensions = ["fish"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue