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
|
# .bash_profile is *not sourced* when launching bash from most GUI terminal emulators
|
||||||
# However, it *is* sourced when logging in via TTY or ssh.
|
#
|
||||||
|
# .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
|
# For the sake of simplicity and consistency, I source my .bashrc
|
||||||
# .bashrc, which is more or less guarunteed to be sourced no matter what.
|
[ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"
|
||||||
|
|
||||||
# [ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"
|
|
||||||
|
|
||||||
# vim:ft=sh
|
# vim:ft=sh
|
||||||
|
|||||||
@ -186,7 +186,7 @@ parse_git() {
|
|||||||
# PS1="\u@\h:\W\\$ "
|
# PS1="\u@\h:\W\\$ "
|
||||||
|
|
||||||
# ***color prompts***
|
# ***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}"
|
# PS1="${bold}${purple}\u${yellow}@${cyan}\h${white}:${blue}\W ${yellow}\\$ ${reset}"
|
||||||
|
|
||||||
# ***git prompts***
|
# ***git prompts***
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user