Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

adds zsh completion to iocage #394

Merged
merged 2 commits into from Oct 16, 2017
Merged

Conversation

wxcafe
Copy link
Contributor

@wxcafe wxcafe commented Oct 15, 2017

@skarekrow
Copy link
Member

Awesome! Thank you

@skarekrow skarekrow merged commit e61a4ed into iocage:master Oct 16, 2017
@wxcafe wxcafe deleted the zsh-completion branch October 16, 2017 20:20
Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does iocage not have -o?


_iocage_list_jails() {
local -a jails
jails=($(iocage list -H | cut -f 2))

This comment was marked as spam.

}
_iocage_list_templates() {
local -a templates
templates=($(iocage list -H -t | cut -f 2))

This comment was marked as spam.

_iocage_list_jails_or_releases() {
local -a releases jails
releases=($(iocage list -H -b))
jails=($(iocage list -H | cut -f 2))

This comment was marked as spam.

}

_iocage_list_zpools() {
zpool list -H | cut -f 1 | while read zpool; do

This comment was marked as spam.

@wxcafe
Copy link
Contributor Author

wxcafe commented Oct 17, 2017

well, it's neither in the man page nor in iocage list --help, and

$ iocage list -H -o
Error: no such option: -o
$ zpool list -H -o
missing argument for 'o' option

skarekrow pushed a commit that referenced this pull request Sep 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants