@@ -160,11 +160,12 @@ expected to be located at `~/.config/powerline-shell/config.json`. You can
160
160
generate the default config at this location using:
161
161
162
162
```
163
- powerline-shell --generate-config > ~/.powerline-shell.json
163
+ mkdir -p ~/.config/powerline-shell && \
164
+ powerline-shell --generate-config > ~/.config/powerline-shell/config.json
164
165
```
165
166
166
167
(As an example, my config file is located here:
167
- [ here] ( https://github.com/b-ryan/dotfiles/blob/master/home/powerline-shell.json ) )
168
+ [ here] ( https://github.com/b-ryan/dotfiles/blob/master/home/config/ powerline-shell/config .json ) )
168
169
169
170
### Adding, Removing and Re-arranging segments
170
171
@@ -227,8 +228,8 @@ they miss colors for any segments.
227
228
If you want to create a custom theme, start by copying one of the existing
228
229
themes, like the
229
230
[ basic] ( https://github.com/b-ryan/powerline-shell/blob/master/powerline_shell/themes/basic.py ) .
230
- and update your ` ~/.powerline-shell.json ` , setting the ` "theme" ` to the path of
231
- the file. For example your configuration might have:
231
+ and update your ` ~/.config/ powerline-shell/config .json ` , setting the ` "theme" `
232
+ to the path of the file. For example your configuration might have:
232
233
233
234
```
234
235
"theme": "~/mythemes/my-great-theme.py"
@@ -246,7 +247,7 @@ settings.
246
247
247
248
Some segments support additional configuration. The options for the segment are
248
249
nested under the name of the segment itself. For example, all of the options
249
- for the ` cwd ` segment are set in ` ~/.powerline-shell.json ` like:
250
+ for the ` cwd ` segment are set in ` ~/.config/ powerline-shell/config .json ` like:
250
251
251
252
```
252
253
{
0 commit comments