powerline-extra-symbols icon indicating copy to clipboard operation
powerline-extra-symbols copied to clipboard

powerline-shell config.json file!

Open amenpunk opened this issue 5 years ago • 2 comments

dummy issue

this is my configuration file

{
  "segments": [
    "virtual_env",
    "username",
    "ssh",
    "cwd",
    "git",
    "hg",
    "jobs",
    "root"
  ],
  "cwd": {
    "max_depth": 2,
    "full_cwd": true
  },
  "patched" :{
    "lock" : "u'\uE0A2'",
    "network" :" u'\uE0A2'",
    "separator" : "'u'\uE0B8'",
    "separator_thin":"u'\uE0B9'"
  }
}

but don't work, nerd fonts works on my vim configuration but I do not get that works on my shell can u share ur .json config example please?

amenpunk avatar Jun 13 '19 05:06 amenpunk

I came looking for instructions on the same. After some digging I found the following.

You need to edit the __init.py__ file. You can find it in the installed directory. I installed using pip so I used this command to find the base directory,

$ python -m site --user-base
/home/user/.local
$ cd ~/.local/lib/python2.7/site-packages/powerline_shell

Then edit these lines in the __init.py__ using vim or your whatever is favorite editor! :wink:

vim __init.py__

Not sure if this is the best way, but it works for me.

@ryanoasis maybe add the steps and/or example to the README?

mbtamuli avatar Nov 03 '19 05:11 mbtamuli

I saw this PR in the powerline-shell repo - https://github.com/b-ryan/powerline-shell/pull/455 which might make it easier.

mbtamuli avatar Nov 03 '19 05:11 mbtamuli