mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
init: add ml command completion for tcsh shell
Add simple completion (loaded modules, avail modules) to "ml" command for tcsh shell. Fixes #416
This commit is contained in:
committed by
Xavier Delaruelle
parent
00a177e7a6
commit
439acc5bfd
@@ -107,3 +107,7 @@ complete module 'C,/*,f,' 'C,.*,f,' 'C,~/*,f,' \
|
||||
'C/sw*/(switch)/' \
|
||||
"p/1/(@comp_cmds@ @comp_opts@)/" \
|
||||
"n/-*/(@comp_cmds@)/"
|
||||
|
||||
complete ml 'c/-/`_module_loaded`/' \
|
||||
'p/1-/`_module_not_yet_loaded`//'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user