powerline-gitstatus icon indicating copy to clipboard operation
powerline-gitstatus copied to clipboard

gitstatus not showing in mac

Open janusadmissions opened this issue 6 years ago • 4 comments
trafficstars

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!

janusadmissions avatar Feb 24 '19 06:02 janusadmissions

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 avatar Apr 05 '19 17:04 atodniAr

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?

atodniAr avatar Apr 08 '19 03:04 atodniAr

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

aDotInTheVoid avatar Aug 20 '19 16:08 aDotInTheVoid

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

andreabreu76 avatar Feb 17 '22 13:02 andreabreu76