Made the change from #902 available to Powerline themes

This commit is contained in:
Nils Winkler
2017-02-14 08:48:46 +01:00
parent 1dc3ee7efa
commit db7ad196b7
3 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
# Define this here so it can be used by all of the Powerline themes
THEME_CHECK_SUDO=${THEME_CHECK_SUDO:=true}
function set_color {
if [[ "${1}" != "-" ]]; then
fg="38;5;${1}"