-
Notifications
You must be signed in to change notification settings - Fork 565
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
[Bash] Unable to add z alias at shell login #314
Comments
What's |
☸ stg in ~ via 🐍 v2.7.18
❯ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc. |
That's a very old version of bash. Could you try using Homebrew to install the latest version ( |
Yes. Just did it, the error remains. bash: (Ie)__zoxide_hook: syntax error in expression (error token is "__zoxide_hook")
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
☸ stg in ~ via 🐍 v2.7.18
❯ bash --version
GNU bash, version 5.1.12(1)-release (x86_64-apple-darwin21.1.0)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
☸ stg in ~ via 🐍 v2.7.18
❯ |
I just looked at the error again. That's not a bash error. I believe you're executing |
Oh you're right, I fixed the issue in my shared |
Not a problem, and you're welcome! 😄 |
I am having this issue. I have put the |
@DesBw please create a fresh issue. |
In my
.bash_profile
:Error:
In my shell:
The text was updated successfully, but these errors were encountered: