How to change the Bash path separator?

323 views
Skip to first unread message

GreyGnome

unread,
Jul 17, 2017, 9:26:58 AM7/17/17
to powerline
Hi,
Powerline looks really cool but I don't like the way it gobbles up terminal columns. I don't need all that space between directories... can I change the default path separator " > " with a simple slash "/" and no spaces?

Thanks.

Nikolay Aleksandrovich Pavlov

unread,
Jul 17, 2017, 3:06:42 PM7/17/17
to GreyGnome, powerline
Yes, you may use

```
{
"segment_data": {
"powerline.segments.shell.cwd": {
"args": {
"use_path_separator": true
}
}
}
}
```

in `~/.config/powerline/themes/shell/__main__.json` (or set the same
thing in your theme file if you do have custom theme file).

>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "powerline" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to powerline-supp...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages