Skip to content

Removing ble.sh from .bashrc prepends an @ to PS1 #256

Answered by akinomyoga
Strykar asked this question in Q&A
Discussion options

You must be logged in to vote

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:

# inputrc

# If you have the following line, you can comment it out or remove it
set show-mode-in-prompt on

When ~/.bashrc or other files sourced from ~/.bashrc contains the setting:

# bashrc

# If you have the following line in bashrc, you can comment it out or remove it
bind 'set show-mode-in-prompt on'

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
15 replies
@Strykar
Comment options

@akinomyoga
Comment options

@akinomyoga
Comment options

@Strykar
Comment options

@akinomyoga
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Strykar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External Problem/Bug Problems/Bugs of other projects
2 participants