Start Refactoring to composable zsh config modules
This commit is contained in:
parent
764de81461
commit
71a7ca83c6
24 changed files with 643 additions and 296 deletions
11
.zsh.d/03-screen-information-dialog
Normal file
11
.zsh.d/03-screen-information-dialog
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# deal with screen, if we're using it - courtesy MacOSXHints.com
|
||||
# Login greeting ------------------
|
||||
if [ "$TERM" = "screen" -a ! "$SHOWED_SCREEN_MESSAGE" = "true" ]; then
|
||||
detached_screens=$(screen -list | grep Detached)
|
||||
if [ ! -z "$detached_screens" ]; then
|
||||
echo "+---------------------------------------+"
|
||||
echo "| Detached screens are available: |"
|
||||
echo "$detached_screens"
|
||||
echo "+---------------------------------------+"
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue