Re:Show HN: Interactive Bash Utilities
by poisonbit on Friday June 10, 2011 @03:37PM
(#2642124)
You can turn all that elifs on prompt.sh into a case/esac.
I've returned to screen from tmux, since it manages vertical split. I've something similar for auto-screen. But my configuration avoids nested screen sessions (i.e. ssh to host A, and then from host A to host B, both with the same .bashrc configs), like this:
I've returned to screen from tmux, since it manages vertical split. I've something similar for auto-screen. But my configuration avoids nested screen sessions (i.e. ssh to host A, and then from host A to host B, both with the same .bashrc configs), like this:
[[ -x $( type -P screen ) ]] && \ [[ -n "$SSH_CONNECTION" ]] && \ [[ "x$TERM" != 'xscreen' ]] && screen -dR