bash-clearcase is a Bash 2.x/3.x script for ClearCase tools completion.
The script provides Bash completion of all command line arguments for the following ClearCase command line tools:
| cleartool | multitool | clearaudit |
| clearbug | cleardiffbl | cleardiff |
| clearexport_ccase | clearexport_cvs | clearexport_rcs |
| clearexport_sccs | clearexport_ffile | clearexport_pvcs |
| clearfsimport | cleargetlog | clearhistory |
| clearimport | cleartdcense | clearmrgman |
| clearprompt | clearviewupdate | clearvobadmin |
The additional context-specific completion is provided for the following cleartool subcommands:
| man | mount | umount | setview | lsview |
| uncheckout | checkin | lsregions | rmregion | lsvob |
In case you'd like to use Bash completion of ClearCase commands, but you are not familiar with programmable completion Bash provides, please, consult Working more productively with bash 2.x/3.x.
Once you have bash-completion package installed, in order to make use of ClearCase completion, simply copy bash-clearcase script into BASH_COMPLETION_DIR directory (/etc/bash_completion.d by default) and restart your shell.