From ddd850f78ceebff106d3fe60e3d7120ac00fa23b Mon Sep 17 00:00:00 2001 From: "chawley (overlook)" Date: Fri, 14 Feb 2020 10:57:44 -0500 Subject: [PATCH] Added safe defaults for fzf and bash_git_prompt to .bashrc --- .bashrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.bashrc b/.bashrc index cf70f47..15e6cc0 100644 --- a/.bashrc +++ b/.bashrc @@ -1 +1,19 @@ +# .bashrc + +# User specific aliases and functions + +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then + GIT_PROMPT_ONLY_IN_REPO=1 + source $HOME/.bash-git-prompt/gitprompt.sh +fi + [ -f ~/.fzf.bash ] && source ~/.fzf.bash