Last active
April 7, 2021 20:13
-
-
Save hbeale/9349b8191b7b0195e2e543388d512003 to your computer and use it in GitHub Desktop.
My .screenrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## .screenrc | |
# backspace throws an error, so fix it | |
bindkey -d ^? stuff ^H | |
bindkey -d ^@ stuff ^H | |
# to be able to attach to the same screen session | |
# from different computers without logging out: | |
multiuser on | |
# change the command character | |
# use 'C-\' instead of default 'C-a' for better ergonomics | |
# (type 'C-\a' to get effect of normal 'C-\') | |
escape ^\a | |
# don't display the copyright page | |
startup_message off | |
# to allow user to read startup message | |
sleep 1 | |
#improve status line | |
hardstatus alwayslastline | |
#hardstatus string '%{= kG}[ %{G}%H %{g}][%=%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y-%m-%d %{W}%c %{g}]' | |
hardstatus string '%{= kG}[ %{G}%H %{g}][help: <ESC> to copy/scroll][%=%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y-%m-%d %{W}%c %{g}]' | |
autodetach on # Autodetach session on hangup instead of terminating screen completely | |
# from http://www.mattcutts.com/blog/screen-power-tips-screenrc/ | |
shelltitle "$ |bash" # make screen assign window titles automatically | |
### enable mouse scrollback | |
defscrollback 5000 | |
termcapinfo xterm* ti@:te@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment