On Mon, Oct 09, 2017 at 05:33:17PM +0800, Nan Xiao wrote: > Hi misc@, > > I know there is git-flow-completion for bash. For default ksh on OpenBSD, > is there any out-of-box git-flow-completion? I try to google, but can't > find it.
If you know the completition for bash then you can build a similar function for ksh I think. if you only want autocomplete commands then something like set -A complete_git_1 -- pull push whatever is enough. Though these kind of tweakings seems useful when coming from bash(linux?), I wouldn´t opt for inflating the shell with plugins, user defined functions and such If you love bash and its features, then it is better to use bash than to try that ksh will be like bash :-/