update bashrc
This commit is contained in:
parent
f7edcd4a4b
commit
67131f41e8
@ -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
|
||||
|
||||
@ -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***
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user