Removing ble.sh from .bashrc prepends an @ to PS1 #256
-
If I comment out ble.sh from my .bashrc, my PS1 looks like
PS1 is fine after re-enabling ble.sh. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
I am a bit confused. If it is the problem when you do not have ble.sh, how do you think it is related to ble.sh? Or, did you actually intend to write "If I enable ble.sh"? Hmm, or do you mean that an unexpected |
Beta Was this translation helpful? Give feedback.
-
The last, it is prepended without ble.sh and appended when ble.sh is sourced. |
Beta Was this translation helpful? Give feedback.
-
Here's the summary. This turned out to be caused by the readline setting When # inputrc
# If you have the following line, you can comment it out or remove it
set show-mode-in-prompt on When # bashrc
# If you have the following line in bashrc, you can comment it out or remove it
bind 'set show-mode-in-prompt on' |
Beta Was this translation helpful? Give feedback.
-
Thank you for taking the time to help me troubleshoot this, and for your amazing software |
Beta Was this translation helpful? Give feedback.
Here's the summary. This turned out to be caused by the readline setting
set show-mode-in-prompt on
. This is a feature of GNU Readline, and the character@
is used to represent that we are currently in Emacs editing mode. You can remove or comment out the corresponding line in your~/.inputrc
,~/.bashrc
, etc.When
~/.inputrc
contains the setting:When
~/.bashrc
or other files sourced from~/.bashrc
contains the setting: