summaryrefslogtreecommitdiffstats
path: root/konsole/tests/titletest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/tests/titletest.sh')
-rwxr-xr-xkonsole/tests/titletest.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/konsole/tests/titletest.sh b/konsole/tests/titletest.sh
new file mode 100755
index 000000000..3c03d8efd
--- /dev/null
+++ b/konsole/tests/titletest.sh
@@ -0,0 +1,5 @@
+#!/bin/sh --
+#
+# display [user@host/path] in title
+
+export PS1="\\[]2;\\u@\\H\\w\\]$ "