Add nushell
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
imports = [
|
||||
./modules/fish
|
||||
./modules/nushell
|
||||
./modules/kitty
|
||||
./modules/git.nix
|
||||
./modules/direnv.nix
|
||||
|
||||
18
nix/modules/nushell/default.nix
Normal file
18
nix/modules/nushell/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
|
||||
programs.direnv.enableNushellIntegration = true;
|
||||
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
|
||||
shellAliases = {
|
||||
ec = "emacsclient -n --alternate-editor=emacs";
|
||||
pubip = "curl icanhazip.com";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user