|
|
@ -29,6 +29,11 @@ HISTFILESIZE=2000
|
|
|
|
# update the values of LINES and COLUMNS.
|
|
|
|
# update the values of LINES and COLUMNS.
|
|
|
|
shopt -s checkwinsize
|
|
|
|
shopt -s checkwinsize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# add home bin
|
|
|
|
|
|
|
|
if [ -d "$HOME/.local/bin" ]; then
|
|
|
|
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# EDITOR
|
|
|
|
# EDITOR
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
@ -52,6 +57,9 @@ alias vi=$EDITOR
|
|
|
|
# PROMPT
|
|
|
|
# PROMPT
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -f "$HOME/.local/bin/starship" ]; then
|
|
|
|
|
|
|
|
eval "$(starship init bash)"
|
|
|
|
|
|
|
|
else
|
|
|
|
# set a minimalist prompt
|
|
|
|
# set a minimalist prompt
|
|
|
|
red='\[\e[0;31m\]' # Red
|
|
|
|
red='\[\e[0;31m\]' # Red
|
|
|
|
green='\[\e[0;32m\]' # Green
|
|
|
|
green='\[\e[0;32m\]' # Green
|
|
|
@ -83,6 +91,7 @@ if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
|
|
|
GIT_PROMPT_THEME=Solarized_Yax
|
|
|
|
GIT_PROMPT_THEME=Solarized_Yax
|
|
|
|
source $HOME/.bash-git-prompt/gitprompt.sh
|
|
|
|
source $HOME/.bash-git-prompt/gitprompt.sh
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# ALIASES
|
|
|
|
# ALIASES
|
|
|
@ -129,6 +138,3 @@ if [ -d "$HOME/.bashrc.d/" ]; then
|
|
|
|
done
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d "$HOME/.local/bin" ]; then
|
|
|
|
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|