You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With nb completions install --download, nb tries to install zsh completions into /usr/share/zsh/site-functions/. This should work, except on macOS, that folder is protected by the system and not even sudo can grant user/group write permission to it.
Run sudo nb completions install -d on a version of macOS, which zsh has been its default shell and homebrew has been installed.
Solution
One could use their own zsh/site-functions/ directory.
For instance, brew give it to /opt/homebrew/share/zsh/site-functions/. nb should install zsh completion scripts to such location. Other zsh completions there has been working well.
Alternatives
Since completions for other 2 shells has been installed to their correct brew directories, I believe the Solution is viable and there's no better/simpler approach.
The text was updated successfully, but these errors were encountered:
Description
With
nb completions install --download
,nb
tries to installzsh
completions into/usr/share/zsh/site-functions/
. This should work, except on macOS, that folder is protected by the system and not evensudo
can grant user/group write permission to it.nb completions install -d
outputs as followsRepro
Run
sudo nb completions install -d
on a version of macOS, whichzsh
has been its default shell andhomebrew
has been installed.Solution
One could use their own
zsh/site-functions/
directory.For instance,
brew
give it to/opt/homebrew/share/zsh/site-functions/
.nb
should install zsh completion scripts to such location. Otherzsh
completions there has been working well.Alternatives
Since completions for other 2 shells has been installed to their correct
brew
directories, I believe the Solution is viable and there's no better/simpler approach.The text was updated successfully, but these errors were encountered: