You are here: Tools > GMTool > Autocompletion

Autocompletion

To be more productive with GMTool, you can install a completion script for your shell. We provide completion scripts for Bash and Zsh shells. In this section, we explain how to install those scripts and we refer to the directory containing the Genymotion installer as <GENYMOTION_DIR>, the directory containing the GMTool binary as <GMTOOL_DIR> and the directory containing the completion script as <COMPLETION_DIR>.

  • On Linux:
    • <GENYMOTION_DIR> is where you installed Genymotion
    • <GMTOOL_DIR> is the same as <GENYMOTION_DIR>
    • <COMPLETION_DIR> is <GENYMOTION_DIR>/completion
  • On macOS:
    • <GENYMOTION_DIR> is /Applications/Genymotion.app
    • <GMTOOL_DIR> is <GENYMOTION_DIR>/Contents/MacOS
    • <COMPLETION_DIR> is <GENYMOTION_DIR>/Contents/Resources/completion