gitkraken / gk-cli

GitKraken CLI Releases and Documentation
https://www.gitkraken.com
Other
122 stars 48 forks source link

MacOS install process #2

Closed avi-gitkraken closed 1 year ago

avi-gitkraken commented 1 year ago

Is your feature request related to a problem? Please describe. After installing the CLI on MacOS and moving it to /usr/local/bin/, I get the following error when running gk:

zsh: command not found: gitk

Describe the solution you'd like The readme should probably be updated with more information about installing on MacOS.

Describe alternatives you've considered Eventually, it would be great to be able to install this using HomeBrew!

Happy to provide any other information you need.

zawata commented 1 year ago

I was having this same problem on manjaro.

It's actually caused by oh-my-zsh(or zplug in my case). The default git plugin adds an alias called gk and aliases resolve before executables.

The spcific alias: https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh#L215

To fix this you could either disable the plugin(I wasn't using it anyways) or rename the gk executable to something else that doesn't conflict.