Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitstatus not showing in mac #32

Open
janusadmissions opened this issue Feb 24, 2019 · 4 comments
Open

gitstatus not showing in mac #32

janusadmissions opened this issue Feb 24, 2019 · 4 comments

Comments

@janusadmissions
Copy link

Hi,

nothing is showing on my Mac terminal.

here is my .config/powerline/config_files/config.json:

`{
"common": {
"term_truecolor": false
},
"ext": {
"ipython": {
"colorscheme": "default",
"theme": "in",
"local_themes": {
"rewrite": "rewrite",
"out": "out",
"in2": "in2"
}
},
"pdb": {
"colorscheme": "default",
"theme": "default"
},
"shell": {
"colorscheme": "default",
"theme": "default_leftonly",
"local_themes": {
"continuation": "continuation",
"select": "select"
}
},
"tmux": {
"colorscheme": "default",
"theme": "default"
},
"vim": {
"colorscheme": "default",
"theme": "default",
"local_themes": {
"tabline": "tabline",

			"cmdwin": "cmdwin",
			"help": "help",
			"quickfix": "quickfix",

			"powerline.matchers.vim.plugin.nerdtree.nerdtree": "plugin_nerdtree",
			"powerline.matchers.vim.plugin.commandt.commandt": "plugin_commandt",
			"powerline.matchers.vim.plugin.gundo.gundo": "plugin_gundo",
			"powerline.matchers.vim.plugin.gundo.gundo_preview": "plugin_gundo-preview"
		}
	},
	"wm": {
		"colorscheme": "default",
		"theme": "default",
		"update_interval": 2
	}
}

}
`

and here is my .config/powerline/config_files/themes/shell/default_leftonly.json:

{ "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_pipe_status", "priority": 10 }, { "function": "powerline_gitstatus.gitstatus", "priority": 40 } ] } }

Finally, here is my .config/powerline/config_files/colorschemes/shell/default.json:

{ "name": "Default color scheme for shell prompts", "groups": { "hostname": { "fg": "brightyellow", "bg": "mediumorange", "attrs": [] }, "environment": { "fg": "white", "bg": "darkestgreen", "attrs": [] }, "mode": { "fg": "darkestgreen", "bg": "brightgreen", "attrs": ["bold"] }, "attached_clients": { "fg": "white", "bg": "darkestgreen", "attrs": [] } "gitstatus": { "fg": "gray8", "bg": "gray2", "attrs": [] }, "gitstatus_branch": { "fg": "gray8", "bg": "gray2", "attrs": [] }, "gitstatus_branch_clean": { "fg": "green", "bg": "gray2", "attrs": [] }, "gitstatus_branch_dirty": { "fg": "gray8", "bg": "gray2", "attrs": [] }, "gitstatus_branch_detached": { "fg": "mediumpurple", "bg": "gray2", "attrs": [] }, "gitstatus_tag": { "fg": "darkcyan", "bg": "gray2", "attrs": [] }, "gitstatus_behind": { "fg": "gray10", "bg": "gray2", "attrs": [] }, "gitstatus_ahead": { "fg": "gray10", "bg": "gray2", "attrs": [] }, "gitstatus_staged": { "fg": "green", "bg": "gray2", "attrs": [] }, "gitstatus_unmerged": { "fg": "brightred", "bg": "gray2", "attrs": [] }, "gitstatus_changed": { "fg": "mediumorange", "bg": "gray2", "attrs": [] }, "gitstatus_untracked": { "fg": "brightestorange", "bg": "gray2", "attrs": [] }, "gitstatus_stashed": { "fg": "darkblue", "bg": "gray2", "attrs": [] }, "gitstatus:divider": { "fg": "gray8", "bg": "gray2", "attrs": [] } }, "mode_translations": { "vicmd": { "groups": { "mode": {"fg": "darkestcyan", "bg": "white", "attrs": ["bold"]} } } } }

Any help would be appreciated!

@atodniAr
Copy link

atodniAr commented Apr 5, 2019

Not showing in OS X 10.14.2 as well. I installed powerline with conda forge, gitstatus with pip. Now powerline is working, but gitstatus is completely not working.

@atodniAr
Copy link

atodniAr commented Apr 8, 2019

Not showing in OS X 10.14.2 as well. I installed powerline with conda forge, gitstatus with pip. Now powerline is working, but gitstatus is completely not working.

I installed powerline and gitstatus use pip on another Mac (10.14.3). This time gitstatus works. It is likely I didn't correctly configure powerline-daemon.

@janusadmissions Have you tried restart the daemon with powerline-daemon —-replace?

@aDotInTheVoid
Copy link

I had this problem myself and restarting the daemon fixed it. Maybe this should be added to the docs.

@andreabreu76
Copy link

Hi, mine show branch on right side on terminal, but dont show modified count or added count ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants