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

Consider sourcing prompt function into .bashrc #1

Open
hulbert opened this issue Apr 11, 2019 · 0 comments
Open

Consider sourcing prompt function into .bashrc #1

hulbert opened this issue Apr 11, 2019 · 0 comments

Comments

@hulbert
Copy link
Owner

hulbert commented Apr 11, 2019

@erikbryant pointed me to this article about startup file loading order for bash https://medium.com/@rajsek/zsh-bash-startup-files-loading-order-bashrc-zshrc-etc-e30045652f2e

In README presently setup step is to source into ~/.bash_profile but this doesn't seem to work for a tool we have which spawns a child shell as that is a non-login shell that appends to the PS1 already set which contains an invocation of prompt_git:

PS1+="\$(prompt_git "" \"\[${blue}\]\")"; # Git repository details

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

1 participant