Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_LAST_COMMAND_INDICATOR_ being printed in prompt output on root user #96

Closed
adamwalter opened this issue Nov 4, 2014 · 9 comments
Closed

Comments

@adamwalter
Copy link

I installed this script on my CentOS server and it's working fine except that it's printing _LAST_COMMAND_INDICATOR_ in the output of my prompt after the actual last command indicator. For example:

✔ _LAST_COMMAND_INDICATOR_ ~/.bash-git-prompt [master|✚ 1]
09:30 #

✘-127 _LAST_COMMAND_INDICATOR_ ~/.bash-git-prompt [master|✚ 1]
09:34 #

I'm not sure how to fix this!

@adamwalter
Copy link
Author

It seems that this only occurs on my root user. If I use the prompt on a standard user, I don't get this issue.

@adamwalter adamwalter changed the title _LAST_COMMAND_INDICATOR_ being printed in prompt output _LAST_COMMAND_INDICATOR_ being printed in prompt output on root user Nov 4, 2014
@janoka
Copy link

janoka commented Nov 12, 2014

I have the same issue at root user, on Ubuntu 12.04.

@magicmonty
Copy link
Owner

I have a look into it

@magicmonty
Copy link
Owner

There was a LAST_COMMAND_INDICATOR too much in Default.bgptheme which was not replaced.
Is now fixed.

@adamwalter
Copy link
Author

Awesome! Thank you!

@janoka
Copy link

janoka commented Nov 24, 2014

Thanks! Great!

@ziegenbalg
Copy link

Lol looks like this is popping up again for me on fedora 40, 10 years later :)

_LAST_COMMAND_INDICATOR_ ~/

@ddreggors
Copy link

Same here in Fedora 40 as well

@joelapatatechaude
Copy link

joelapatatechaude commented Jun 23, 2024

Same here on Fedora 40. Looks like the PR #547 is fixing this, hopefully it will get merge sometime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants