--- byobu-launch 2013-11-15 15:40:50.000000000 -0800 +++ byobu-launch-custom 2013-11-16 13:54:07.000000000 -0800 @@ -61,17 +61,18 @@ [ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="history -a;history -r;$PROMPT_COMMAND" || PROMPT_COMMAND="history -a;history -r" # Source profile, if necessary [ -z "$_byobu_sourced" ] && [ -r "$HOME/.profile" ] && . "$HOME/.profile" - if byobu-launcher; then - # Wait very briefly for the no-logout flag to get written? - sleep 0.1 - if [ -e "$BYOBU_CONFIG_DIR/no-logout-on-detach" ] || [ -e "$BYOBU_RUN_DIR/no-logout" ]; then - # The user does not want to logout on byobu detach - rm -f "$BYOBU_RUN_DIR/no-logout" # Remove one-time no-logout flag, if it exists - true - else - exit 0 - fi - fi + exec byobu-launcher + # if byobu-launcher; then + # # Wait very briefly for the no-logout flag to get written? + # sleep 0.1 + # if [ -e "$BYOBU_CONFIG_DIR/no-logout-on-detach" ] || [ -e "$BYOBU_RUN_DIR/no-logout" ]; then + # # The user does not want to logout on byobu detach + # rm -f "$BYOBU_RUN_DIR/no-logout" # Remove one-time no-logout flag, if it exists + # true + # else + # exit 0 + # fi + # fi ;; esac fi