We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created a config file at $HOME/.config/spaceship/spaceship.zsh but it is not loaded. It looks like the path is not loaded correctly here: https://github.com/spaceship-prompt/spaceship-prompt/blob/master/lib/config.zsh#L11
$HOME/.config/spaceship/spaceship.zsh
Instead of: "${XDG_CONFIG_HOME:="$HOME/.config/spaceship"}/spaceship.zsh"
"${XDG_CONFIG_HOME:="$HOME/.config/spaceship"}/spaceship.zsh"
It should be: "${XDG_CONFIG_HOME:="$HOME/.config"}/spaceship/spaceship.zsh"
"${XDG_CONFIG_HOME:="$HOME/.config"}/spaceship/spaceship.zsh"
My $XDG_CONFIG_HOME is /Users/ksalman/.config
$XDG_CONFIG_HOME
/Users/ksalman/.config
Here is how the array looks like with the current code. The 3rd and 4th elements are the same
➜ echo $SPACESHIP_CONFIG_PATH /Users/ksalman/.spaceshiprc /Users/ksalman/.spaceshiprc.zsh /Users/ksalman/.config/spaceship.zsh /Users/ksalman/.config/spaceship.zsh /etc/xdg/spaceship.zsh
irrelevant
4.2.1
zsh 5.8 (x86_64-apple-darwin20.0)
macOS
No response
iTerm
The text was updated successfully, but these errors were encountered:
Good catch! Would you like to send a PR?
Sorry, something went wrong.
cf4b55e
chore(release): 4.2.4 [skip ci]
17880c4
## [4.2.4](v4.2.3...v4.2.4) (2022-09-05) ### Bug Fixes * **config:** fix wrong path for spaceship config ([cf4b55e](cf4b55e)), closes [#1184](#1184)
🎉 This issue has been resolved in version 4.2.4 🎉
The release is available on:
Your semantic-release bot 📦🚀
Thanks for fixing it.
No branches or pull requests
Is there an existing issue for this?
The problem
I created a config file at
$HOME/.config/spaceship/spaceship.zsh
but it is not loaded. It looks like the path is not loaded correctly here:https://github.com/spaceship-prompt/spaceship-prompt/blob/master/lib/config.zsh#L11
Instead of:
"${XDG_CONFIG_HOME:="$HOME/.config/spaceship"}/spaceship.zsh"
It should be:
"${XDG_CONFIG_HOME:="$HOME/.config"}/spaceship/spaceship.zsh"
My
$XDG_CONFIG_HOME
is/Users/ksalman/.config
Here is how the array looks like with the current code. The 3rd and 4th elements are the same
Relevant Zsh configuration
What is version of Spaceship are you using?
4.2.1
What is version of Zsh are you using?
zsh 5.8 (x86_64-apple-darwin20.0)
What operation system are you running?
macOS
Do you use any Zsh framework or plugin manager?
No response
Which terminal emulator do you use?
iTerm
Additional information
No response
The text was updated successfully, but these errors were encountered: