Skip to content

Commit

Permalink
setup: bash prompt prefix config
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Jun 10, 2024
1 parent f672641 commit 43ed010
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
inherit system overlays;
};

rev = if builtins.hasAttr "rev" self then self.rev else self.dirtyRev;
rev = if (self ? rev) then self.rev else self.dirtyRev;
book = import ./docs {
inherit pkgs crane mdbook-theme;
};
Expand All @@ -43,4 +43,8 @@
packages = rustemo.packages // book.packages;
}
);

nixConfig = {
bash-prompt-prefix = "rustemo-dev:";
};
}

0 comments on commit 43ed010

Please sign in to comment.