-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
I just found a way to get this to work in a new terminal window right off the bat. It's not super ideal since you have to still be in screen, but at least it is automatic.
Basically just in .zshrc, do this:
if [[ -z $STY ]]; then
autoload -Uz add-zsh-hook
add-zsh-hook -U precmd () {
if [[ -z $STY ]]; then
screen
fi
}
fiAnd then in ~/.screenrc:
startup_message off
No idea if there is a bash equivalent. But zsh is the standard shell for macs now.
I don't think this is a complete solution since it forces people to be in screen all the time, but it might be useful enough to some people that this could be a tip in the README for this?
Metadata
Metadata
Assignees
Labels
No labels