]> git.phdru.name Git - dotfiles.git/blobdiff - .screenrc
Feat(screen): Use `shelltitle` trick in `.screenrc`
[dotfiles.git] / .screenrc
index 2e3ff3e66b90305d3f55e87df8cb332bc0537ed2..279a1204662c7f8e404802bc9e448b53ad9a309a 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -13,6 +13,11 @@ startup_message off
 deflogin on
 shell -$SHELL
 
+# For this to work PS1 prompt must include empty "<esc>k<esc>\" sequence
+# and ends with "$ ".
+#shelltitle "\$ |$SHELL"
+#bind R screen -t '# |root:' sudo su -
+
 # define a bigger scrollback, default is 100 lines
 defscrollback 1024