aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/shrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/shrc b/etc/shrc
index 6dc13f3..4db8360 100644
--- a/etc/shrc
+++ b/etc/shrc
@@ -16,6 +16,10 @@ case "$-" in *i*)
esac
/bin/test "$(whoami)" = root && PS1=$PS1'# ' || PS1=$PS1'$ '
+ case "$TERM" in
+ screen*) PS1='$(safetitle "$PWD")'$PS1 ;;
+ esac
+
# This file is used by shells that might not support
# set -o tabcomplete, so check before trying to use it.
( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete