Commit 2fed813
Changed files (4)
home/base/core/shells/default.nix
@@ -6,5 +6,10 @@
programs.nushell = {
enable = true;
+ settings = {
+ show_banner = false;
+ };
};
+
+ catppuccin.nushell.enable = true;
}
home/base/tui/zellij.nix
@@ -1,4 +1,4 @@
-{...}: let
+{nu-scripts, ...}: let
shellAliases = {
"zj" = "zellij";
};
@@ -33,7 +33,9 @@ in {
# }
# '';
- # only works in bash/zsh, not nushell
- home.shellAliases = shellAliases;
+ home.shellAliases = shellAliases; # only works in bash/zsh, not nushell
programs.nushell.shellAliases = shellAliases;
+ programs.nushell.extraConfig = ''
+ source ${nu-scripts}/custom-completions/zellij/zellij-completions.nu
+ '';
}
flake.lock
@@ -177,6 +177,22 @@
"type": "github"
}
},
+ "nu-scripts": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1751532713,
+ "narHash": "sha256-JEytcntdN+krsjzJdwa+pbF76Z2XhStdKS9/GZ9JjtE=",
+ "owner": "nushell",
+ "repo": "nu_scripts",
+ "rev": "f0cd46cafc9d0d73efde0f2a0b6f455dd2dfbfe3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nushell",
+ "repo": "nu_scripts",
+ "type": "github"
+ }
+ },
"nur": {
"inputs": {
"flake-parts": "flake-parts",
@@ -252,6 +268,7 @@
"nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable": "nixpkgs-unstable",
+ "nu-scripts": "nu-scripts",
"nur": "nur",
"nur-hpcesia": "nur-hpcesia",
"plasma-manager": "plasma-manager",
flake.nix
@@ -38,6 +38,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ nu-scripts = {
+ url = "github:nushell/nu_scripts";
+ flake = false;
+ };
+
# === Follows are myself repos === #
nur-hpcesia = {
url = "github:HPCesia/nur-packages";