Ticket 7786

Summary: zsh command completions
Product: Slurm Reporter: Dylan Simon <dsimon>
Component: Build System and PackagingAssignee: Tim Wickberg <tim>
Status: OPEN --- QA Contact:
Severity: C - Contributions    
Priority: ---    
Version: 19.05.2   
Hardware: All   
OS: All   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=8396
Site: Simons Foundation & Flatiron Institute Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: zsh completion file

Description Dylan Simon 2019-09-21 09:46:23 MDT
Created attachment 11655 [details]
zsh completion file

The current bash completions only sort of work with zsh, and are also missing a lot of stuff.  This is a more complete set of zsh-specific completions.  It's not perfect (in particular doesn't handle job step ids, proper case-insensitivity, option placement for scontrol), but is fairly complete.

Could be added to contribs/slurm_completion_help and installed to $PREFIX/share/zsh/site-functions/_slurm, ideally.