Salt autocomplete for bash/zsh/etc. requires Python 2. At such, it should not be installed anymore.
(anon):7: command not found: python2
Salt autocomplete for bash/zsh/etc. requires Python 2. At such, it should not be installed anymore.
(anon):7: command not found: python2
rOPS Nasqueron Operations | |||
D3532 | rOPSf892439d18ac Prune salt autocomplete for zsh |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | dereckson | T2017 Install WindRiver replacement server | |||
Resolved | dereckson | T2026 Prune salt autocomplete for shells |
Culprit is salt_dir="${$(python2 -c 'import salt; print(salt.file);')%init*}"
We can report upstream or patch s/python2/python3 instead of rm, but I'm not sure it works at all.
Applied everywhere with salt '*' state.apply hotfixes/salt
Per previous comment, no need to hunt bash or fish completions.