-
szilardHi. I am using zsh on my OmniOS instance, but it doesn't fully supports autocompletion for "zadm". I get autocompletion for the zone-names for the zlogin command, but autocompletion / auto-suggestion doesn't works for zadm like "zadm reboot zonename".
-
szilardI am wondering how this suggestion/completion works, so I can add support for this use case.
-
szilardPlease let me know if you have any idea.
-
tomwwszilard: I never edited this myself, but you might have a look at this example:
-
tomwwcat /usr/share/zsh/5.8/functions/Completion/Solaris/_zoneadm and on your system looks for _zadm
-
tomww)
-
andyfIt would definitely be good to teach zsh about zadm. zadm is written in perl and there might be perl modules that can generate autocomplete files, otherwise we can certainly ship a _zadm if somebody contributes it.