look in .local for bashrc
This commit is contained in:
parent
05eb220cdd
commit
fb7ecea138
@ -24,6 +24,7 @@ export VISUAL="/usr/bin/vim"
|
|||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
|
|
||||||
export GH="https://github.com/lemonase"
|
export GH="https://github.com/lemonase"
|
||||||
|
export DF="$HOME/src/dotfiles"
|
||||||
|
|
||||||
# ALIASES
|
# ALIASES
|
||||||
# -------
|
# -------
|
||||||
@ -68,6 +69,7 @@ alias venvac='source venv/bin/activate'
|
|||||||
# COLORS
|
# COLORS
|
||||||
# ------
|
# ------
|
||||||
# color vars using tput or ANSI/VT100 Control sequences
|
# color vars using tput or ANSI/VT100 Control sequences
|
||||||
|
|
||||||
# check if tput is available
|
# check if tput is available
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
num_colors=$(tput colors)
|
num_colors=$(tput colors)
|
||||||
@ -197,12 +199,11 @@ parse_git() {
|
|||||||
# PS1="${purple}\u${yellow}@${cyan}\h${white}:${blue}\W ${yellow}\\$ "
|
# PS1="${purple}\u${yellow}@${cyan}\h${white}:${blue}\W ${yellow}\\$ "
|
||||||
|
|
||||||
# ***git prompts***
|
# ***git prompts***
|
||||||
# PS1="${bold}${blue}\W\$(parse_git)${cyan} \\$ ${reset}"
|
# PS1="${bold}${blue}\W\$(parse_git)${green} \\$ ${reset}"
|
||||||
# PS1="${bold}${white}\t ${blue}\W\$(parse_git) ${cyan}\\$ ${reset}"
|
# PS1="${bold}${white}\t ${blue}\W\$(parse_git) ${cyan}\\$ ${reset}"
|
||||||
# PS1="${bold}${purple}\u${yellow}@${cyan}\h${white}:${blue}\W\$(parse_git)${green} \\$ ${reset}"
|
# PS1="${bold}${purple}\u${yellow}@${cyan}\h${white}:${blue}\W\$(parse_git)${green} \\$ ${reset}"
|
||||||
# PS1="${bold}\n${cyan}\u ${white}at ${yellow}\h ${white}in ${blue}\w ${white}on \$(parse_git)\n${yellow}\\$ ${reset}"
|
# PS1="${bold}\n${cyan}\u ${white}at ${yellow}\h ${white}in ${blue}\w ${white}on \$(parse_git)\n${yellow}\\$ ${reset}"
|
||||||
|
|
||||||
|
|
||||||
# BASH AUTOCOMPLETION
|
# BASH AUTOCOMPLETION
|
||||||
# -------------------
|
# -------------------
|
||||||
if ! shopt -oq posix; then
|
if ! shopt -oq posix; then
|
||||||
@ -216,4 +217,4 @@ fi
|
|||||||
# LOCAL RC
|
# LOCAL RC
|
||||||
# --------
|
# --------
|
||||||
[ -f "$HOME/.config/bashrc" ] && source "$HOME/.config/bashrc"
|
[ -f "$HOME/.config/bashrc" ] && source "$HOME/.config/bashrc"
|
||||||
|
[ -f "$HOME/.local/bashrc" ] && source "$HOME/.local/bashrc"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user