Comments (3)
Please make sure that the variable is exported.
from starship.
Solution:
Export starship environment variables explicitly right before starship initialisation in your ZSH config:
export STARSHIP_CONFIG="$ZDOTDIR/starship/config.toml"
export STARSHIP_CACHE="$ZDOTDIR/starship/cache"
eval "$(starship init zsh)"
from starship.
@davidkna Hm, sure, looks like it was not exported:
$ declare -p STARSHIP_CONFIG
typeset STARSHIP_CONFIG=/Users/ddmytrenko/.config/zsh/starship/config.toml
Ok!
I have exported starship environment variables explicitly right before starship initialisation in my zsh config:
export STARSHIP_CONFIG="$ZDOTDIR/starship/config.toml"
export STARSHIP_CACHE="$ZDOTDIR/starship/cache"
eval "$(starship init zsh)"
Variables are now exported:
$ declare -p | ag STARSHIP_C | ag export
export STARSHIP_CACHE=/Users/ddmytrenko/.config/zsh/starship/cache
export STARSHIP_CONFIG=/Users/ddmytrenko/.config/zsh/starship/config.toml
Now it loads the config properly. Thanks for your advice!
from starship.
Related Issues (20)
- Drop `impure` from the Nix shell module
- sudo caching breaks when enabling Starship
- `$username` doesn't work in Docker
- detect `pixi.toml` and `.ipynb` for python
- Detect pyenv shell outside the python source tree
- direnv: module is not being displayed in subdirectories, despite direnv being active HOT 1
- Transient prompt in Powershell doesn't trigger if prompt is cancelled with ctrl+c HOT 1
- Also Use starship vi mode indicators? HOT 1
- Also Use starship vi mode indicators? HOT 1
- VSCode shell integration breaks with fish if starship is enabled HOT 1
- Add support for Simple Icons
- PSReadLine mode indicator HOT 10
- Allow setting `prev_fg` and `prev_bg` without any printed characters
- Show git tag without showing commit HOT 2
- Add support for dash. HOT 1
- Add Presets like powerlevel10k
- Group modules in documentation into thematic groups
- `add_newline` not on `clear` / `^L` HOT 1
- Character module cant detect error codes
- Missing last character in the right prompt inside Neovim terminal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starship.