Open
Description
Using colima on an M1 mac, seems to be working one comment is that the text for the completions should change:
colima completion zsh --help
Says you should pip it to /usr/local but with m1, this has moved to /opt/homebrew if it is installed that way, so it should say when you run colima completion zsh --help
:
To load completions for every new session, execute once:
# Linux or MacOS M1:
$ colima completion zsh > "${fpath[1]}/_colima"
# macOS Intel:
$ colima completion zsh > /usr/local/share/zsh/site-functions/_colima
# if homebrew installed
$ colima completion zsh > $(brew --prefix)/share/zsh/site-function/_colima
As an aside, if you do not what to make it that complicate the at least for Linux and M1, you can just use the fpath. Finally,
this says run it once, but this means that completions will get stale if you ever change the file, so the safer thing to
do is to put this into ~/.zshrc or ~/.bash_profile so that it refreshes
Originally posted by @richtong in abiosoft/colima#98
Activity