-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack overflow in fish when alias --save cd=z
#674
Comments
Could you share your shell configuration? |
Not OP but I am having the same issue. I installed zoxide last night and it was working great, I even aliased it to cd. Came to work today and booted up my laptop, now any I'm also using Fish, but on Linux. What exactly config is it you need? config.fish? Update: |
Here is my
As @asjur notes: actually, the issue seems to lie entirely in the I should say, one wrinkle is that the shell in which you So if you add
|
z
alias --save cd=z
Have you tried initializing zoxide as zoxide init fish --cmd cd | source Also, do verify that your zoxide version is up-to-date (may be a duplicate of #694): $ zoxide -V
zoxide 0.9.3 |
I had the exact same problem, and can confirm that update fixes the error. Ubuntu repo has 0.4.3 version of zoxide and updating manually helps. |
@kredati do update to the latest version of zoxide. Ubuntu / Debian derivatives have a very outdated version. You may want to use the install script: curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash |
Aliasing using this command is what fixed it for me. |
I am using MacOS (14.3.1), and installed zoxide using brew. Current version is 0.9.4 (updated from 0.9.3 just now). Stack overflow persists when using fish's I do think that using If this isn't a bug to y'all, I get it. From a user's perspective, this feels like unexpected behaviour. Perhaps a note in the documentation under the "config" section would be appropriate. Thanks for this! I love zoxide, and am grateful for everybody's work on it. |
@kredati that's a reasonable ask. However:
|
Updated to MacOS 14.3 last night. Currently running Zoxide 0.9.2, installed with Homebrew (4.2.5), in Fish (3.7.0), in Kitty (0.32.1). (I also upgraded Kitty today.)
Anytime I use
z
(with any, or no, arguments), I get:Note that indeed
meta
is correctly resolved to~/git/meta
. (~
redacted for privacy reasons;z
correctly lists the absolute path.)I moved
~/Library/Application Support/zoxide/db.zo
todb.zo.old
, and it's still giving me the stack overflow. I also uninstalled and reinstalled Zoxide withbrew
.Any help would be appreciated!
The text was updated successfully, but these errors were encountered: