Commit 7fdf5c15 authored by nimrod's avatar nimrod
Browse files

- Added Powerline config.

parent fecb4341
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -47,6 +47,14 @@ fi
# shellcheck disable=SC2142
[ -f /usr/local/bin/virtualenvwrapper.sh ] && . /usr/local/bin/virtualenvwrapper.sh

if which powerline-daemon > /dev/null && [ -f /usr/share/powerline/bindings/bash/powerline.sh ]
then
    export POWERLINE_BASH_CONTINUATION=1
    export POWERLINE_BASH_SELECT=1
    pgrep -f powerline-daemon > /dev/null || powerline-daemon -q
    . /usr/share/powerline/bindings/bash/powerline.sh
fi

export REPREPRO_BASE_DIR="$HOME/Documents/Shore/debian-repository"
export EDITOR=vim
export GOPATH="$HOME/Documents/Golang"
+13 −0
Original line number Diff line number Diff line
{
    "ext": {
        "shell": {
            "theme": "personal"
        },
        "vim": {
            "theme": "default"
        },
        "tmux": {
            "theme": "personal"
        }
    }
}
+34 −0
Original line number Diff line number Diff line
{
	"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
			}
		]
	}
}
+20 −0
Original line number Diff line number Diff line
{
	"segments": {
		"right": [
			{
				"function": "powerline.segments.common.time.date"
			},
			{
				"function": "powerline.segments.common.time.date",
				"name": "time",
				"args": {
					"format": "%H:%M",
					"istime": true
				}
			},
			{
				"function": "powerline.segments.common.net.hostname"
			}
		]
	}
}
+1 −0
Original line number Diff line number Diff line
if-shell '[ -f /usr/share/powerline/bindings/tmux/powerline.conf ]' 'source "/usr/share/powerline/bindings/tmux/powerline.conf"'
bind-key b send-prefix
Loading