mirror of
https://github.com/starship/starship.git
synced 2024-11-22 00:04:05 +01:00
docs: note about the $XDG_CONFIG_HOME
env
This commit is contained in:
parent
5f2eb186e2
commit
6d818ce9cb
@ -8,13 +8,13 @@ To get started configuring starship, create one of the following file:
|
||||
mkdir -p ~/.config && touch ~/.config/starship.toml
|
||||
```
|
||||
|
||||
- `~/.config/starship/config.toml`
|
||||
- `~/.config/starship/config.toml` or `$XDG_CONFIG_HOME/starship/config.toml` if `$XDG_CONFIG_HOME` is set.
|
||||
|
||||
```sh
|
||||
mkdir -p ~/.config/starship && touch ~/.config/starship/config.toml
|
||||
```
|
||||
|
||||
Note: if you have both files available, the `starship.toml` will take higher priority.
|
||||
Note: if you have both files available, the `~/.config/starship.toml` will take higher priority.
|
||||
|
||||
All configuration for starship is done in this [TOML](https://github.com/toml-lang/toml) file:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user