@@ -164,11 +164,12 @@ expected to be located at `~/.config/powerline-shell/config.json`. You can
164
164
generate the default config at this location using:
165
165
166
166
```
167
- powerline-shell --generate-config > ~/.powerline-shell.json
167
+ mkdir -p ~/.config/powerline-shell && \
168
+ powerline-shell --generate-config > ~/.config/powerline-shell/config.json
168
169
```
169
170
170
171
(As an example, my config file is located here:
171
- [ here] ( https://github.com/b-ryan/dotfiles/blob/master/home/powerline-shell.json ) )
172
+ [ here] ( https://github.com/b-ryan/dotfiles/blob/master/home/config/ powerline-shell/config .json ) )
172
173
173
174
### Adding, Removing and Re-arranging segments
174
175
@@ -250,8 +251,8 @@ they miss colors for any segments.
250
251
If you want to create a custom theme, start by copying one of the existing
251
252
themes, like the
252
253
[ basic] ( https://github.com/b-ryan/powerline-shell/blob/master/powerline_shell/themes/basic.py ) .
253
- and update your ` ~/.powerline-shell.json ` , setting the ` "theme" ` to the path of
254
- the file. For example your configuration might have:
254
+ and update your ` ~/.config/ powerline-shell/config .json ` , setting the ` "theme" `
255
+ to the path of the file. For example your configuration might have:
255
256
256
257
```
257
258
"theme": "~/mythemes/my-great-theme.py"
@@ -269,7 +270,7 @@ settings.
269
270
270
271
Some segments support additional configuration. The options for the segment are
271
272
nested under the name of the segment itself. For example, all of the options
272
- for the ` cwd ` segment are set in ` ~/.powerline-shell.json ` like:
273
+ for the ` cwd ` segment are set in ` ~/.config/ powerline-shell/config .json ` like:
273
274
274
275
```
275
276
{
0 commit comments