mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33: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
|
||||
alias = {"v" = "nvim";};
|
||||
nvimAlias = {"v" = "nvim";};
|
||||
in {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
programs.fish.shellAbbrs = alias;
|
||||
programs.bash.shellAliases = alias;
|
||||
programs.zsh.shellAliases = alias;
|
||||
programs.fish.shellAbbrs = nvimAlias;
|
||||
programs.bash.shellAliases = nvimAlias;
|
||||
programs.zsh.shellAliases = nvimAlias;
|
||||
programs.nushell.shellAliases = nvimAlias;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,5 +4,7 @@
|
|||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
enableNushellIntegration = true;
|
||||
enableIonIntegration = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
g = "lazygit";
|
||||
ni = "touch";
|
||||
cls = "clear";
|
||||
ii = "open";
|
||||
ii = "xdg-open";
|
||||
aic = "aichat -s";
|
||||
aicc = "aichat -c";
|
||||
nrs = "sudo nixos-rebuild switch --flake ~/.dotfiles/nixcfgs";
|
||||
|
|
@ -27,5 +27,12 @@ in {
|
|||
enable = true;
|
||||
shellAliases = commonAliases;
|
||||
};
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
shellAliases = commonAliases;
|
||||
extraConfig = ''
|
||||
$env.config.show_banner = false
|
||||
'';
|
||||
};
|
||||
programs.zed-editor.extensions = ["fish"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue