update bashrc

This commit is contained in:
James Dixon 2020-09-30 17:09:37 -04:00
parent f7edcd4a4b
commit 67131f41e8
2 changed files with 6 additions and 7 deletions

View File

@ -1,9 +1,8 @@
# .bash_profile is *not* sourced when launching bash from some GUI terminal emulators
# However, it *is* sourced when logging in via TTY or ssh.
# .bash_profile is *not sourced* when launching bash from most GUI terminal emulators
#
# .bash_profile *is sourced* for login shells like from a TTY, ssh connection, or tmux.
# Due to this somewhat inconsistent behaviour, I ended up putting everything in
# .bashrc, which is more or less guarunteed to be sourced no matter what.
# [ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"
# For the sake of simplicity and consistency, I source my .bashrc
[ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"
# vim:ft=sh

View File

@ -186,7 +186,7 @@ parse_git() {
# PS1="\u@\h:\W\\$ "
# ***color prompts***
PS1="${bold}${blue}\W ${yellow}\\$ ${reset}"
# PS1="${bold}${blue}\W ${yellow}\\$ ${reset}"
# PS1="${bold}${purple}\u${yellow}@${cyan}\h${white}:${blue}\W ${yellow}\\$ ${reset}"
# ***git prompts***