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
When I install global packages, their completion functions aren't available in my shell (ZSH).
I recently changed from Homebrew to DevBox and really miss the completion from globally installed packages.
(Found a solution that works for me, but it wasn't obvious and it would be nice to at least document it somewhere).
What solution would you like?
If it's possible, I'd like to add the directory, where the completion functions are installed, to fpath for ZSH (there might be equivalents for other shells) when initializing devbox as a global package manager.
Alternatives you've considered
Alternatively, if it's not feasible to implement this technically, maybe you could just document it?
In my case (ZSH user), I can just add fpath=(~/.local/share/devbox/global/default/.devbox/nix/profile/default/share/zsh/site-functions $fpath)" to my .zshrc file before calling compinit, and everything works. Maybe there's an even shorter path I can include, or a command that returns the correct path cross-platform.
The text was updated successfully, but these errors were encountered:
What problem are you trying to solve?
When I install global packages, their completion functions aren't available in my shell (ZSH).
I recently changed from Homebrew to DevBox and really miss the completion from globally installed packages.
(Found a solution that works for me, but it wasn't obvious and it would be nice to at least document it somewhere).
What solution would you like?
If it's possible, I'd like to add the directory, where the completion functions are installed, to
fpath
for ZSH (there might be equivalents for other shells) when initializing devbox as a global package manager.Alternatives you've considered
Alternatively, if it's not feasible to implement this technically, maybe you could just document it?
In my case (ZSH user), I can just add
fpath=(~/.local/share/devbox/global/default/.devbox/nix/profile/default/share/zsh/site-functions $fpath)"
to my.zshrc
file before calling compinit, and everything works. Maybe there's an even shorter path I can include, or a command that returns the correct path cross-platform.The text was updated successfully, but these errors were encountered: