summaryrefslogtreecommitdiff
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-01-31 10:50:01 +0000
committerUrbain Vaes <urbain@vaes.uk>2018-01-31 10:50:01 +0000
commit0a0acf361b779ac7346e2bd5ac7156b42d376166 (patch)
tree3368a3067db4a0a195792be67999f8a6cbf07643 /bash/.bashrc
parent12ad5da5c57fb08048bde28444d9253d3f80b3c1 (diff)
[qutebrowser] Fix escaping bug in user-pass script
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc7
1 files changed, 7 insertions, 0 deletions
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