ohmyzsh/plugins/bun
Pedro Barbiero f5795c31a2
fix(bun): bun completions should explicitly set SHELL
`bun completions` results in a file according to the current $SHELL, but if you don´t have ZSH as your $SHELL, the plugin will create a bash script as the completions script. This commit fixes that case.

Users with broken completions probably need to remove their `$ZSH_CACHE_DIR/completions/_bun` so it is created again.
2024-07-02 11:18:52 -03:00
..
bun.plugin.zsh fix(bun): bun completions should explicitly set SHELL 2024-07-02 11:18:52 -03:00
README.md feat(bun): add plugin (#11859) 2023-08-29 10:29:15 +02:00

Bun Plugin

This plugin sets up completion for Bun.

To use it, add bun to the plugins array in your zshrc file:

plugins=(... bun)

This plugin does not add any aliases.

Cache

This plugin caches the completion script and is automatically updated when the plugin is loaded, which is usually when you start up a new terminal emulator.

The cache is stored at:

  • $ZSH_CACHE_DIR/completions/_bun_ completions script