Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Add matchspec for foo/bar branch names in git completion
- X-seq: zsh-users 20215
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Add matchspec for foo/bar branch names in git completion
- Date: Thu, 14 May 2015 10:35:03 -0700
- In-reply-to: <20150514143747.GF1932@tarsus.local2>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20150514143747.GF1932@tarsus.local2>
On May 14, 2:37pm, Daniel Shahaf wrote:
}
} I'd like to add a matchspec to git heads completion, such that
} 'git checkout o/m<TAB>' would complete to 'origin/master'.
}
} However, I can't seem to get the matchspec right.
I'm not sure you can do that with a matchspec; you might need to use the
_multi_parts helper function.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author