diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bash_profile | 8 | ||||
-rw-r--r-- | bash/.bashrc | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile index d7297c5..d0742ef 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -1,7 +1,3 @@ -# Prompt -if [[ -n $SSH_CLIENT ]]; then - PS1=$'\w \e[0;31m$\e[0m ' -else - PS1='\w $ ' -fi +# Source .bashrc if it exists +[[ -f ~/.bashrc ]] && source ~/.bashrc diff --git a/bash/.bashrc b/bash/.bashrc index 23b523d..387b5d6 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,2 +1,9 @@ +# Prompt +if [[ -n $SSH_CLIENT ]]; then + PS1=$'\w \e[0;31m$\e[0m ' +else + PS1='\w $ ' +fi + # FZF [ -f ~/.fzf.bash ] && source ~/.fzf.bash |