Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: de91a42c6ed6f35adae2ca0be6ad9ce556aac335
https://github.com/NixOS/nix/commit/de91a42c6ed6f35adae2ca0be6ad9ce556aac335
Author: Oliver Dunkl <[email protected]>
Date: 2015-01-28 (Wed, 28 Jan 2015)
Changed paths:
M scripts/nix-build.in
Log Message:
-----------
Moves runHook to a later execution position
It moves runHook to a later position in the rcfile. After that we are
able to set the PS1 environment-variable for a nix-shell environment
e.g.:
# turn the color of the prompt to blue
shellHook = ''
export PS1="\n\[\033[1;34m\][\u@\h:\w]$\[\033[0m\] ";
'';
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits