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
Hi, running eval "$(frum init)" on macOS Ventura 13.1 appears to produce incorrect output. Placing eval "$(frum init)" within my ~/.zshrc file caused errors when source ~/.zshrc was run.
Running frum init directly generates the following output on my machine:
The problem is that frum init is generating this line in _frum_autoload_hook:
frum --log-level quiet local
It looks like the root cause is that the local subcommand is failing. Running it on the terminal fails with:
error: Can't find version in dotfiles. Please provide a version manually to the command.
The --log-level quiet option suppresses this error output but the command still fails with exit code 1.
A good fix would be a new option so that local wouldn't fail with exit code 1 when there isn't a dotfile with the version, e.g. something like frum --log-level quiet --ignore-if-not-found local.
Meanwhile this is a workaround:
eval "$(frum init | sed "s/quiet local/quiet local | true/")"
Hi, running
eval "$(frum init)"
on macOS Ventura 13.1 appears to produce incorrect output. Placingeval "$(frum init)"
within my~/.zshrc
file caused errors whensource ~/.zshrc
was run.Running
frum init
directly generates the following output on my machine:Directly running the following command fails on my machine:
add-zsh-hook chpwd _frum_autoload_hook \ && _frum_autoload_hook
I managed to get it working by removing the trailing
\ && _frum_autoload_hook
from theadd-zsh-hook
command.Is this a bug?
The text was updated successfully, but these errors were encountered: