mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
bash: place interactiveShellInit at the end to be able to override existing settings
This commit is contained in:
parent
29b99ed9fa
commit
cf3e36a3b9
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,6 @@ in
|
||||||
loginShellInit = cfge.loginShellInit;
|
loginShellInit = cfge.loginShellInit;
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
${cfge.interactiveShellInit}
|
|
||||||
|
|
||||||
# Check the window size after every command.
|
# Check the window size after every command.
|
||||||
shopt -s checkwinsize
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
@ -138,6 +136,8 @@ in
|
||||||
${cfg.promptInit}
|
${cfg.promptInit}
|
||||||
${bashCompletion}
|
${bashCompletion}
|
||||||
${bashAliases}
|
${bashAliases}
|
||||||
|
|
||||||
|
${cfge.interactiveShellInit}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue