forked from lix-project/lix
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:
parent
ea59f39326
commit
f1357059a4
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue