so0k / powerline-kubernetes

A Powerline segment to show your current Kubernetes context
MIT License
41 stars 19 forks source link

bash ubuntu 18.04 doesn't worrk #23

Open spyroot opened 4 years ago

spyroot commented 4 years ago

Hey mate,

My default_leftonly.json In a config.json I use default_leftonly but it doesn't work. Can you post your config.json and left_only?

shell": {
                        "colorscheme": "default",
                        "theme": "default",
                        "local_themes": {
                                "continuation": "default_leftonly",
                                "select": "select"
                        }

`{
        "segments": {
                "left": [
                        {
                                "function": "powerline.segments.common.net.hostname",
                                "priority": 10
                        },
                        {
                                "function": "powerline.segments.common.env.user",
                                "priority": 30
                        },
                        {
                                "function": "powerline.segments.common.env.virtualenv",
                                "priority": 50
                        },
                        {
                                "function": "powerline.segments.common.vcs.branch",
                                "priority": 40
                        },
                        {
                                "function": "powerline.segments.shell.cwd",
                                "priority": 10
                        },
                        {
                                "function": "powerline.segments.shell.jobnum",
                                "priority": 20
                        },
                        {
                                "function": "powerline.segments.shell.last_status",
                                "priority": 10
                        },
                         {
                                 "function": "powerline_kubernetes.kubernetes",
                                 "priority": 30,
                                   "args": {
                                                "show_kube_logo": true,
                                                "show_cluster": true,
                                                "show_namespace": true,
                                                "show_default_namespace": true,
                                                "alerts": [
                                                        "live",
                                                         "cluster:live"
                                                        ]
                                             }
                        }

                ]
        }
}
bigornoo commented 4 years ago

Same issue here (macOS 10.14.6) Expecting property name enclosed in double quotes: line 35 column 36 (char 729) Expecting property name enclosed in double quotes: line 35 column 36 (char 729