parent
f6c5717a7a
commit
a7955b972c
|
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
cite about-plugin
|
cite about-plugin
|
||||||
about-plugin 'enables powerline daemon'
|
about-plugin 'enables powerline daemon'
|
||||||
|
|
||||||
command -v powerline-daemon &>/dev/null || return
|
_command_exists powerline-daemon || return
|
||||||
powerline-daemon -q
|
powerline-daemon -q
|
||||||
|
|
||||||
#the following should not be executed if bashit powerline themes in use
|
#the following should not be executed if bashit powerline themes in use
|
||||||
|
|
@ -14,13 +14,13 @@ case "$BASH_IT_THEME" in
|
||||||
esac
|
esac
|
||||||
POWERLINE_BASH_CONTINUATION=1
|
POWERLINE_BASH_CONTINUATION=1
|
||||||
POWERLINE_BASH_SELECT=1
|
POWERLINE_BASH_SELECT=1
|
||||||
bashPowerlineInit=$(python -c \
|
bashPowerlineInit="$(python -c \
|
||||||
"import os; \
|
"import os; \
|
||||||
import powerline;\
|
import powerline;\
|
||||||
print(os.path.join(os.path.dirname(\
|
print(os.path.join(os.path.dirname(\
|
||||||
powerline.__file__),\
|
powerline.__file__),\
|
||||||
'bindings', \
|
'bindings', \
|
||||||
'bash', \
|
'bash', \
|
||||||
'powerline.sh'))")
|
'powerline.sh'))")"
|
||||||
[ -e $bashPowerlineInit ] || return
|
[ -e $bashPowerlineInit ] || return
|
||||||
. $bashPowerlineInit
|
source $bashPowerlineInit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue