Skip to content

Commit 3b95178

Browse files
author
Buck Ryan
committed
fix issues with config file path
fixes #409
1 parent 73b01d6 commit 3b95178

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,12 @@ expected to be located at `~/.config/powerline-shell/config.json`. You can
160160
generate the default config at this location using:
161161

162162
```
163-
powerline-shell --generate-config > ~/.powerline-shell.json
163+
mkdir -p ~/.config/powerline-shell && \
164+
powerline-shell --generate-config > ~/.config/powerline-shell/config.json
164165
```
165166

166167
(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))
168169

169170
### Adding, Removing and Re-arranging segments
170171

@@ -227,8 +228,8 @@ they miss colors for any segments.
227228
If you want to create a custom theme, start by copying one of the existing
228229
themes, like the
229230
[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:
232233

233234
```
234235
"theme": "~/mythemes/my-great-theme.py"
@@ -246,7 +247,7 @@ settings.
246247

247248
Some segments support additional configuration. The options for the segment are
248249
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:
250251

251252
```
252253
{

0 commit comments

Comments
 (0)