nix-shell: Don't set NIX_INDENT_MAKE

It generally is not useful in interactive environments (and messes up
some non-ANSI-compliant terminals).
This commit is contained in:
Eelco Dolstra 2014-01-13 13:46:44 +01:00
parent ea59f39326
commit f1357059a4

View file

@ -211,6 +211,7 @@ foreach my $expr (@exprs) {
'set +e; ' . 'set +e; ' .
'[ -n "$PS1" ] && PS1="\n\[\033[1;32m\][nix-shell:\w]$\[\033[0m\] "; ' . '[ -n "$PS1" ] && PS1="\n\[\033[1;32m\][nix-shell:\w]$\[\033[0m\] "; ' .
'unset NIX_ENFORCE_PURITY; ' . 'unset NIX_ENFORCE_PURITY; ' .
'unset NIX_INDENT_MAKE; ' .
'shopt -u nullglob; ' . 'shopt -u nullglob; ' .
$envCommand); $envCommand);
$ENV{BASH_ENV} = $rcfile; $ENV{BASH_ENV} = $rcfile;