summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/.bashrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 76d8d48..0e8ede6 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,5 +1,11 @@
# Prompt
-PS1='\w $ '
+
+if [[ -n $SSH_CLIENT ]]; then
+ PS1=$'\w\e[0;31m$ \e[0m'
+else
+ PS1='\w $ '
+fi
+
# FZF
[ -f ~/.fzf.bash ] && source ~/.fzf.bash