You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/21 07:28:49 UTC

[GitHub] [airflow] pateash commented on a change in pull request #15454: Breeze should load local tmux configuration in 'breeze start-airflow'

pateash commented on a change in pull request #15454:
URL: https://github.com/apache/airflow/pull/15454#discussion_r617268866



##########
File path: scripts/in_container/configure_environment.sh
##########
@@ -48,3 +49,20 @@ else
     echo "In it to make breeze source the variables automatically for you"
     echo
 fi
+
+
+if [[ -d "${AIRFLOW_BREEZE_CONFIG_DIR}" && \
+    -f "${AIRFLOW_BREEZE_CONFIG_DIR}/${TMUX_CONF_FILE}" ]]; then
+    pushd "${AIRFLOW_BREEZE_CONFIG_DIR}" >/dev/null 2>&1 || exit 1
+    echo
+    echo "Using ${TMUX_CONF_FILE} from ${AIRFLOW_BREEZE_CONFIG_DIR}"
+    echo
+     # shellcheck disable=1090
+    cp "${AIRFLOW_BREEZE_CONFIG_DIR}/${TMUX_CONF_FILE}" ~

Review comment:
       Thanks for the suggestion @uranusjr.
   changes has been done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org