some more cleanup and started crafting new prompt

This commit is contained in:
twoneis 2025-03-09 18:37:02 +01:00
parent 2f24f85e44
commit 25d02e5d3a
5 changed files with 35 additions and 20 deletions

View file

@ -70,22 +70,22 @@ in {
programs.fish = {
enable = true;
plugins = with pkgs.fishPlugins; [
plugins = [
{
name = "pure";
src = pure.src;
src = pkgs.fishPlugins.pure.src;
}
{
name = "bass";
src = bass.src;
}
];
interactiveShellInit = concatMapStrings (x: "set --universal " + x + "\n") [
"pure_enable_nixdevshell true"
];
functions = {
run = "nix run nixpkgs#$argv[1] -- $argv[2..]";
run = {
body = "nix run nixpkgs#$argv[1] -- $argv[2..]";
};
fish_prompt = {
body = builtins.readFile ./prompt.fish;
};
};
shellAbbrs = {