fix bash prompt
This commit is contained in:
parent
e432fd1682
commit
97e514a3b7
|
|
@ -67,7 +67,7 @@
|
||||||
];
|
];
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
promptInit = ''PS1="[\u \W] \e[32;1m\$\e[0m "'';
|
promptInit = ''PS1="[\u \W] \[\e[32;1m\]\$\[\e[0m\] "'';
|
||||||
};
|
};
|
||||||
environment.etc.bashrc.text = lib.mkAfter ''[ -f ~/.config/bash/bashrc ] && . ~/.config/bash/bashrc'';
|
environment.etc.bashrc.text = lib.mkAfter ''[ -f ~/.config/bash/bashrc ] && . ~/.config/bash/bashrc'';
|
||||||
environment.localBinInPath = true;
|
environment.localBinInPath = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue