Open amuessig opened 6 years ago
Hi,
thx for the feedback. The command golab zsh-completion
might be a little misleading: what it does, is not installing zsh-completion but generating the auto-completion file for zsh. The very same file is inlcuded in zsh/_golab
in the sources.
Since currently there is no differentiation between "offline" operations (requiring no connection to a Gitlab server) and "online" operations, golab
will always fail if the .golab
file can't be found. I consider this as a questionable behavior and will create an issue for it. Thanks for reporting.
For the time being, you can use zsh/_golab
and copy it to one of the folders of the $FPATH
and source your .zshrc
as described in the README.
Regards, Michael
TODO: differentiate between commands that require login to a Gitlab server and such that don't (e.g. generating the zsh-completion file). Do not throw an error on commands that don't need a login, if no .golab
file can be found.
Hi,
I wanted to install zsh-completion, which fails since there is no .golab file