Complete
Adds autocompletion to iocsh.bash. Not a needed feature, but a nice one. There is probably lots of room for improvement, but it still is a bit nice as a first draft.
The autocomplete script is also sourced when you source setE3Env.bash, so the functionality is set to work as-is for users.
Some functionality:
-
-l(cellMods path) will only autocomplete for directories -
-rwill look atEPICS_BASEandE3_REQUIRE_VERSIONand then only autocomplete to modules that are found there -
-c(which runs specified commands) autocompletes to a list of valid/plausible ioc shell commands.
Edited by Simon Rose