fix bash prompt

This commit is contained in:
caandt 2024-08-23 13:36:15 -05:00
parent e432fd1682
commit 97e514a3b7

View file

@ -67,7 +67,7 @@
];
programs.bash = {
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.localBinInPath = true;