From 14b0f2154608224a0a09d80334461a1981ad52d9 Mon Sep 17 00:00:00 2001 From: Christophe Meynard Date: Mon, 22 Jul 2024 17:16:23 +0200 Subject: [PATCH] MMVII: Update Readme for command completion on windows with Bash --- MMVII/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MMVII/README.md b/MMVII/README.md index 7046e57d64..c5b8e8789b 100755 --- a/MMVII/README.md +++ b/MMVII/README.md @@ -165,6 +165,19 @@ These are typically installed by default on Ubuntu. If not, you can install them After making this modification, the command completion feature will be active in any new terminal session. +**Windows:** + + If you're using bash (installed with git for example) on Windows, completion may also works: + +- You must have python >= 3.7 installed somewhere + +- Edit your ~/.bash_profile and add: (adapt first 2 lines to your case) + ``` + MMVII_INSTALL_PATH=/c/micmac/MMVII + PYTHON_INSTALL_PATH=/c/Python/Python39/ + PATH=${PYTHON_INSTALL_PATH}:${MMVII_INSTALL_PATH}/bin:$PATH + [ -f ${MMVII_INSTALL_PATH}/bash-completion/mmvii-completion ] && . ${MMVII_INSTALL_PATH}/bash-completion/mmvii-completion + ``` ### Graphical User Interface vMMVII The **vMMVII** tool provides a convenient graphical user interface (GUI) for writing **MMVII** commands.