linuxmint / nemo-extensions

A set of extensions for Nemo
408 stars 150 forks source link

prompt/PS1 display broken in nemo-terminal shell #116

Open thomasbittermann opened 9 years ago

thomasbittermann commented 9 years ago

env:

From /etc/profile.d/vte.sh PROMPT_COMMAND got set to "__vte_prompt_command". If I open nemo - and hit F4 to call nemo-terminal - the prompt display is broken.

nemo-terminal-prompt-broken

Workaround is the following addition to .bashrc:

if [ "$GIO_LAUNCHED_DESKTOP_FILE" = "$HOME/.local/share/applications/nemo.desktop" ]; then
    unset PROMPT_COMMAND
fi

nemo-terminal-prompt-working

leigh123linux commented 9 years ago

Broken by this commit

https://git.gnome.org/browse/vte/commit/?id=baba3a229dee976708967fe9697fd927fdd0d211

and the reasoning for the change

https://bugzilla.gnome.org/show_bug.cgi?id=711059