gold: add gold as a standalone home manager config

This commit is contained in:
Xinyang Li 2023-07-21 07:03:59 +00:00
parent ec6476d470
commit 9d4decff9c
5 changed files with 80 additions and 5 deletions

View file

@ -15,5 +15,20 @@
src = fishPlugins.hydro.src;
}
];
interactiveShellInit = ''
fish_config theme choose 'ayu Dark'
fish_config prompt choose arrow
${pkgs.nix-your-shell}/bin/nix-your-shell fish | source
function fish_right_prompt
if test -n "$IN_NIX_SHELL"
echo -n "<nix-shell>"
else if test $SHLVL -ge 3
echo -n "<🚀lv$SHLVL>"
end
end
'';
functions = {
gitignore = "curl -sL https://www.gitignore.io/api/$argv";
};
};
}