Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Setting up tab completion for bash

Kenneth Hoste edited this page · 1 revision
Clone this wiki locally

Since EasyBuild v1.10.0, tab completion for bash shells is supported.

To make this active, you need to make sure the required bash functions are available, and that auto-completion for the eb command is registered. This can be done as follows after the installation of EasyBuild

source `dirname $(which eb)`/minimal_bash_completion.bash
source `dirname $(which eb)`/optcomplete.bash
complete -F _optcomplete eb

Once this is done, you should have tab completion in a bash shell working, for example:

$ eb --avail-<TAB>
--avail-easyconfig-constants   --avail-easyconfig-params      --avail-module-naming-schemes  --avail-repositories           
--avail-easyconfig-licenses    --avail-easyconfig-templates   --avail-modules-tools 
Something went wrong with that request. Please try again.