cea-hpc / modules

Environment Modules: provides dynamic modification of a user's environment
http://modules.sourceforge.net/
GNU General Public License v2.0
668 stars 102 forks source link

Add simple completion (loaded modules, avail modules) to "ml" command #526

Closed Laurent-Besson closed 2 months ago

Laurent-Besson commented 2 months ago

Add simple completion on "ml" command under tcsh. This fix will allow to list unload module when user hit "tab" after "ml" command and will list loaded modules after "ml -" All other completions (as for full "module" command) are not implemented to keep it simple

xdelaruelle commented 2 months ago

Many thanks @Laurent-Besson for your contribution.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.60%. Comparing base (00a177e) to head (04b585d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #526 +/- ## ========================================== + Coverage 97.34% 99.60% +2.26% ========================================== Files 14 14 Lines 5117 5123 +6 ========================================== + Hits 4981 5103 +122 + Misses 136 20 -116 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.