Merge remote-tracking branch 'github/main'

This commit is contained in:
Jonny Barnes 2026-08-08 11:55:34 +01:00
commit 837efb3cca
No known key found for this signature in database

View file

@ -79,7 +79,14 @@ apply = ["defer"]
[plugins.fnm] [plugins.fnm]
github = "dominik-schwabe/zsh-fnm" github = "dominik-schwabe/zsh-fnm"
apply = ["defer"] apply = ["defer"]
hooks.pre = 'export ZSH_FNM_ENV_EXTRA_ARGS="--use-on-cd --version-file-strategy recursive --resolve-engines false"' # Linux boxes (e.g. the server) intentionally use the distro nodejs package
# instead of fnm, so only load this plugin on macOS. Otherwise the plugin's
# own fallback silently curl-installs fnm and its --use-on-cd hook then
# prompts on every cd since no version is fnm-managed there.
hooks.pre = '''
if [[ "$OSTYPE" == darwin* ]]; then
export ZSH_FNM_ENV_EXTRA_ARGS="--use-on-cd --version-file-strategy recursive --resolve-engines false"'''
hooks.post = "fi"
[plugins.zoxide] [plugins.zoxide]
github = "ajeetdsouza/zoxide" github = "ajeetdsouza/zoxide"