Skip to content

Instantly share code, notes, and snippets.

@jaybutzler
Last active November 17, 2021 14:10
Show Gist options
  • Save jaybutzler/6a7f8b52097251fe596f75a22a44bd58 to your computer and use it in GitHub Desktop.
Save jaybutzler/6a7f8b52097251fe596f75a22a44bd58 to your computer and use it in GitHub Desktop.
Linux screen Configuration

Linux screen Configuration

Plade the following content in the users home directory and file "~/.screenrc".

shell -$SHELL
defscrollback 1024 

shelltitle "$ |bash"

# THIS IS THE PRETTY BIT
# change the hardstatus settings to give an window list at the bottom of the                                                                        
# screen, with the time and date and with the current window highlighted                                                                            

hardstatus             alwayslastline                                                                                                                          

hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment