mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
nushell: completions, colors, zoxide
This commit is contained in:
parent
91167bd614
commit
9dbf41d394
3 changed files with 48 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ in {
|
|||
nushell
|
||||
fish
|
||||
zoxide
|
||||
vivid
|
||||
ripgrep
|
||||
jq
|
||||
yq-go
|
||||
|
|
@ -45,12 +46,22 @@ in {
|
|||
|
||||
home-manager.sharedModules = [
|
||||
({
|
||||
home.file.".zshrc" = let
|
||||
configFile = ./config.nu;
|
||||
envFile = ./env.nu;
|
||||
in {
|
||||
text = "exec nu --env-config ${envFile} --config ${configFile}";
|
||||
force = true;
|
||||
home.file = {
|
||||
".zshrc" = let
|
||||
configFile = ./config.nu;
|
||||
envFile = ./env.nu;
|
||||
in {
|
||||
text = "exec nu --env-config ${envFile} --config ${configFile}";
|
||||
force = true;
|
||||
};
|
||||
|
||||
".config/nushell/zoxide.nu".source = pkgs.runCommand "zoxide.nu" {} ''
|
||||
${getExe pkgs.zoxide} init nushell --cmd cd > $out
|
||||
'';
|
||||
|
||||
".config/nushell/ls_colors.txt".source = pkgs.runCommand "ls_colors.txt" {} ''
|
||||
${getExe pkgs.vivid} generate gruvbox-dark-hard > $out
|
||||
'';
|
||||
};
|
||||
})
|
||||
(homeArgs: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue