Where do you set PS1? Normally Mac terminal runs bash as a login shell (which Geany does now too by defaulting to "bash -l" to grab the system settings of PS1) so you have to set PS1 inside .bash_profile (.bashrc won't be used). For me using
``` PS1="\w $" ```
inside .bash_profile works as expected. Also check that you have "bash -l" inside Editor->Preferences->Terminal->Shell. If you have just "bash" there then bash isn't run as a login shell and you have to set PS1 inside .bashrc. What does "echo $PS1" say when you run it inside Geany's VTE? I guess it's something different than "\w $".
github-comments@lists.geany.org