From fae18112cbe3b15f93a698ce8794a4eb26829afb Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Thu, 7 Dec 2017 10:01:47 -0600 Subject: [PATCH 1/7] Added new theme to limit the directory only the current directory --- themes/powerline-flies/README.md | 56 +++++++++++++++++++ .../powerline-flies/powerline-flies.base.bash | 33 +++++++++++ .../powerline-flies.theme.bash | 48 ++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 themes/powerline-flies/README.md create mode 100644 themes/powerline-flies/powerline-flies.base.bash create mode 100644 themes/powerline-flies/powerline-flies.theme.bash diff --git a/themes/powerline-flies/README.md b/themes/powerline-flies/README.md new file mode 100644 index 00000000..6347d991 --- /dev/null +++ b/themes/powerline-flies/README.md @@ -0,0 +1,56 @@ +# Powerline Theme + +A colorful theme, where shows a lot information about your shell session. + +## Provided Information + +* Current path +* Current username and hostname +* Current time +* An indicator when connected by SSH +* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this) +* An indicator when the current shell is inside the Vim editor +* Battery charging status (depends on the [../../plugins/available/battery.plugin.bash](battery plugin)) +* SCM Repository status (e.g. Git, SVN) +* The current Python environment (Virtualenv, venv, and Conda are supported) in use +* The current Ruby environment (rvm and rbenv are supported) in use +* Last command exit code (only shown when the exit code is greater than 0) + +## Configuration + +This theme is pretty configurable, all the configuration is done by setting environment variables. + +### User Information + +By default, the username and hostname are shown, but you can change this behavior by setting the value of the following variable: + + POWERLINE_PROMPT_USER_INFO_MODE="sudo" + +For now, the only supported value is `sudo`, which hides the username and hostname, and shows an indicator when `sudo` has the credentials cached. Other values have no effect at this time. + +### Clock Format + +You can change the format using the following variable: + + THEME_CLOCK_FORMAT="%H:%M:%S" + +The time/date is printed by the `date` command, so refer to its man page to change the format. + +### Segment Order + +The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: + +* battery +* clock +* cwd +* in_vim +* python_venv +* ruby +* scm +* user_info + +A variables can be defined to set the order of the prompt segments: + + POWERLINE_PROMPT="user_info scm python_venv ruby cwd" + +The example values above are the current default values, but if you want to remove anything from the prompt, simply remove the "string" that represents the segment from the variable. diff --git a/themes/powerline-flies/powerline-flies.base.bash b/themes/powerline-flies/powerline-flies.base.bash new file mode 100644 index 00000000..83b5ac92 --- /dev/null +++ b/themes/powerline-flies/powerline-flies.base.bash @@ -0,0 +1,33 @@ +. "$BASH_IT/themes/powerline/powerline.base.bash" + +function __powerline_cwd_prompt { + echo "\W|${CWD_THEME_PROMPT_COLOR}" +} + +function __powerline_left_segment { + local OLD_IFS="${IFS}"; IFS="|" + local params=( $1 ) + IFS="${OLD_IFS}" + + LEFT_PROMPT+="${separator}$(set_color - ${params[1]}) ${params[0]} ${normal}" + LAST_SEGMENT_COLOR=${params[1]} +} + +function __powerline_prompt_command { + local last_status="$?" ## always the first + + LEFT_PROMPT="" + + ## left prompt ## + for segment in $POWERLINE_PROMPT; do + local info="$(__powerline_${segment}_prompt)" + [[ -n "${info}" ]] && __powerline_left_segment "${info}" + done + [[ "${last_status}" -ne 0 ]] && __powerline_left_segment $(__powerline_last_status_prompt ${last_status}) + [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(set_color ${LAST_SEGMENT_COLOR} -) ${normal}" + + PS1="${LEFT_PROMPT} " + + ## cleanup ## + unset LEFT_PROMPT +} diff --git a/themes/powerline-flies/powerline-flies.theme.bash b/themes/powerline-flies/powerline-flies.theme.bash new file mode 100644 index 00000000..c46fdc4c --- /dev/null +++ b/themes/powerline-flies/powerline-flies.theme.bash @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +. "$BASH_IT/themes/powerline-flies/powerline-flies.base.bash" + +USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁ "} +USER_INFO_THEME_PROMPT_COLOR=32 +USER_INFO_THEME_PROMPT_COLOR_SUDO=202 + +PYTHON_VENV_CHAR=${POWERLINE_PYTHON_VENV_CHAR:="ⓔ "} +CONDA_PYTHON_VENV_CHAR=${POWERLINE_CONDA_PYTHON_VENV_CHAR:="ⓔ "} +PYTHON_VENV_THEME_PROMPT_COLOR=35 + +SCM_NONE_CHAR="" +SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:="⎇ "} +SCM_THEME_PROMPT_CLEAN="" +SCM_THEME_PROMPT_DIRTY="" +SCM_THEME_PROMPT_CLEAN_COLOR=25 +SCM_THEME_PROMPT_DIRTY_COLOR=88 +SCM_THEME_PROMPT_STAGED_COLOR=30 +SCM_THEME_PROMPT_UNSTAGED_COLOR=92 +SCM_THEME_PROMPT_COLOR=${SCM_THEME_PROMPT_CLEAN_COLOR} + +RVM_THEME_PROMPT_PREFIX="" +RVM_THEME_PROMPT_SUFFIX="" +RBENV_THEME_PROMPT_PREFIX="" +RBENV_THEME_PROMPT_SUFFIX="" +RUBY_THEME_PROMPT_COLOR=161 +RUBY_CHAR=${POWERLINE_RUBY_CHAR:="ⓔ "} + +CWD_THEME_PROMPT_COLOR=240 + +LAST_STATUS_THEME_PROMPT_COLOR=52 + +CLOCK_THEME_PROMPT_COLOR=240 + +BATTERY_AC_CHAR=${BATTERY_AC_CHAR:="+ "} +BATTERY_STATUS_THEME_PROMPT_GOOD_COLOR=70 +BATTERY_STATUS_THEME_PROMPT_LOW_COLOR=208 +BATTERY_STATUS_THEME_PROMPT_CRITICAL_COLOR=160 + +THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%H:%M:%S"} + +IN_VIM_THEME_PROMPT_COLOR=245 +IN_VIM_THEME_PROMPT_TEXT="vim" + +POWERLINE_PROMPT=${POWERLINE_PROMPT:="user_info scm python_venv cwd"} + +safe_append_prompt_command __powerline_prompt_command \ No newline at end of file From 35c29349bd9f19f01bc36a9b0612e0a44a54d014 Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Fri, 8 Dec 2017 09:22:35 -0600 Subject: [PATCH 2/7] Added new wd function to powerline-flies theme. Changed the __powerline_prompt_command function to reflect the base function. --- themes/powerline-flies/powerline-flies.base.bash | 13 +++++++++---- themes/powerline-flies/powerline-flies.theme.bash | 9 +++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/themes/powerline-flies/powerline-flies.base.bash b/themes/powerline-flies/powerline-flies.base.bash index 83b5ac92..5a78d70a 100644 --- a/themes/powerline-flies/powerline-flies.base.bash +++ b/themes/powerline-flies/powerline-flies.base.bash @@ -1,6 +1,6 @@ . "$BASH_IT/themes/powerline/powerline.base.bash" -function __powerline_cwd_prompt { +function __powerline_wd_prompt { echo "\W|${CWD_THEME_PROMPT_COLOR}" } @@ -15,8 +15,11 @@ function __powerline_left_segment { function __powerline_prompt_command { local last_status="$?" ## always the first + local separator_char="${POWERLINE_PROMPT_CHAR}" LEFT_PROMPT="" + SEGMENTS_AT_LEFT=0 + LAST_SEGMENT_COLOR="" ## left prompt ## for segment in $POWERLINE_PROMPT; do @@ -24,10 +27,12 @@ function __powerline_prompt_command { [[ -n "${info}" ]] && __powerline_left_segment "${info}" done [[ "${last_status}" -ne 0 ]] && __powerline_left_segment $(__powerline_last_status_prompt ${last_status}) - [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(set_color ${LAST_SEGMENT_COLOR} -) ${normal}" + [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(set_color ${LAST_SEGMENT_COLOR} -)${separator_char}${normal}" - PS1="${LEFT_PROMPT} " + PS1="${LEFT_PROMPT}" ## cleanup ## - unset LEFT_PROMPT + unset LAST_SEGMENT_COLOR \ + LEFT_PROMPT \ + SEGMENTS_AT_LEFT } diff --git a/themes/powerline-flies/powerline-flies.theme.bash b/themes/powerline-flies/powerline-flies.theme.bash index c46fdc4c..d5d0d035 100644 --- a/themes/powerline-flies/powerline-flies.theme.bash +++ b/themes/powerline-flies/powerline-flies.theme.bash @@ -2,7 +2,7 @@ . "$BASH_IT/themes/powerline-flies/powerline-flies.base.bash" -USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁ "} +USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁"} USER_INFO_THEME_PROMPT_COLOR=32 USER_INFO_THEME_PROMPT_COLOR_SUDO=202 @@ -33,7 +33,7 @@ LAST_STATUS_THEME_PROMPT_COLOR=52 CLOCK_THEME_PROMPT_COLOR=240 -BATTERY_AC_CHAR=${BATTERY_AC_CHAR:="+ "} +BATTERY_AC_CHAR=${BATTERY_AC_CHAR:="⚡"} BATTERY_STATUS_THEME_PROMPT_GOOD_COLOR=70 BATTERY_STATUS_THEME_PROMPT_LOW_COLOR=208 BATTERY_STATUS_THEME_PROMPT_CRITICAL_COLOR=160 @@ -43,6 +43,7 @@ THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%H:%M:%S"} IN_VIM_THEME_PROMPT_COLOR=245 IN_VIM_THEME_PROMPT_TEXT="vim" -POWERLINE_PROMPT=${POWERLINE_PROMPT:="user_info scm python_venv cwd"} +POWERLINE_PROMPT_CHAR="$ " +POWERLINE_PROMPT=${POWERLINE_PROMPT:="user_info scm python_venv wd"} -safe_append_prompt_command __powerline_prompt_command \ No newline at end of file +safe_append_prompt_command __powerline_prompt_command From 9b2929774667e4b43b437a1f459cda48097494bf Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Fri, 8 Dec 2017 09:47:56 -0600 Subject: [PATCH 3/7] finalization of flies theme --- themes/powerline-flies/powerline-flies.base.bash | 2 +- themes/powerline-flies/powerline-flies.theme.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/powerline-flies/powerline-flies.base.bash b/themes/powerline-flies/powerline-flies.base.bash index 5a78d70a..0984bba8 100644 --- a/themes/powerline-flies/powerline-flies.base.bash +++ b/themes/powerline-flies/powerline-flies.base.bash @@ -29,7 +29,7 @@ function __powerline_prompt_command { [[ "${last_status}" -ne 0 ]] && __powerline_left_segment $(__powerline_last_status_prompt ${last_status}) [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(set_color ${LAST_SEGMENT_COLOR} -)${separator_char}${normal}" - PS1="${LEFT_PROMPT}" + PS1="${LEFT_PROMPT} " ## cleanup ## unset LAST_SEGMENT_COLOR \ diff --git a/themes/powerline-flies/powerline-flies.theme.bash b/themes/powerline-flies/powerline-flies.theme.bash index d5d0d035..98503720 100644 --- a/themes/powerline-flies/powerline-flies.theme.bash +++ b/themes/powerline-flies/powerline-flies.theme.bash @@ -43,7 +43,7 @@ THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%H:%M:%S"} IN_VIM_THEME_PROMPT_COLOR=245 IN_VIM_THEME_PROMPT_TEXT="vim" -POWERLINE_PROMPT_CHAR="$ " +POWERLINE_PROMPT_CHAR="$" POWERLINE_PROMPT=${POWERLINE_PROMPT:="user_info scm python_venv wd"} safe_append_prompt_command __powerline_prompt_command From 94ebdf7c5b5d5c19575dd921d9f70a899200a331 Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Fri, 8 Dec 2017 09:56:40 -0600 Subject: [PATCH 4/7] Added a new function to display current directory only --- themes/powerline/powerline.base.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/powerline/powerline.base.bash b/themes/powerline/powerline.base.bash index 002a7329..4f4d75af 100644 --- a/themes/powerline/powerline.base.bash +++ b/themes/powerline/powerline.base.bash @@ -93,6 +93,10 @@ function __powerline_cwd_prompt { echo "$(pwd | sed "s|^${HOME}|~|")|${CWD_THEME_PROMPT_COLOR}" } +function __powerline_wd_prompt { + echo "\W|${CWD_THEME_PROMPT_COLOR}" +} + function __powerline_clock_prompt { echo "$(date +"${THEME_CLOCK_FORMAT}")|${CLOCK_THEME_PROMPT_COLOR}" } From 4986468e89adeb7ee48ba6ab43fcd9e14fdce2a7 Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Fri, 8 Dec 2017 09:57:34 -0600 Subject: [PATCH 5/7] Changed the broken icons --- themes/powerline/powerline.theme.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/powerline/powerline.theme.bash b/themes/powerline/powerline.theme.bash index 12de9cbe..831af77e 100644 --- a/themes/powerline/powerline.theme.bash +++ b/themes/powerline/powerline.theme.bash @@ -2,10 +2,10 @@ . "$BASH_IT/themes/powerline/powerline.base.bash" -PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:=""} -POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""} +PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:="$"} +POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""} -USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:=" "} +USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁"} USER_INFO_THEME_PROMPT_COLOR=32 USER_INFO_THEME_PROMPT_COLOR_SUDO=202 @@ -14,7 +14,7 @@ CONDA_PYTHON_VENV_CHAR=${POWERLINE_CONDA_PYTHON_VENV_CHAR:="❲c❳ "} PYTHON_VENV_THEME_PROMPT_COLOR=35 SCM_NONE_CHAR="" -SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:=" "} +SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:="⎇ "} SCM_THEME_PROMPT_CLEAN="" SCM_THEME_PROMPT_DIRTY="" SCM_THEME_PROMPT_CLEAN_COLOR=25 From 1ff3cfbe4d666e2cf6b162cf564156dbcb326bf9 Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Fri, 8 Dec 2017 10:00:42 -0600 Subject: [PATCH 6/7] Removed new theme in favor of adding to Powerline theme --- themes/powerline-flies/README.md | 56 ------------------- .../powerline-flies/powerline-flies.base.bash | 38 ------------- .../powerline-flies.theme.bash | 49 ---------------- 3 files changed, 143 deletions(-) delete mode 100644 themes/powerline-flies/README.md delete mode 100644 themes/powerline-flies/powerline-flies.base.bash delete mode 100644 themes/powerline-flies/powerline-flies.theme.bash diff --git a/themes/powerline-flies/README.md b/themes/powerline-flies/README.md deleted file mode 100644 index 6347d991..00000000 --- a/themes/powerline-flies/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# Powerline Theme - -A colorful theme, where shows a lot information about your shell session. - -## Provided Information - -* Current path -* Current username and hostname -* Current time -* An indicator when connected by SSH -* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this) -* An indicator when the current shell is inside the Vim editor -* Battery charging status (depends on the [../../plugins/available/battery.plugin.bash](battery plugin)) -* SCM Repository status (e.g. Git, SVN) -* The current Python environment (Virtualenv, venv, and Conda are supported) in use -* The current Ruby environment (rvm and rbenv are supported) in use -* Last command exit code (only shown when the exit code is greater than 0) - -## Configuration - -This theme is pretty configurable, all the configuration is done by setting environment variables. - -### User Information - -By default, the username and hostname are shown, but you can change this behavior by setting the value of the following variable: - - POWERLINE_PROMPT_USER_INFO_MODE="sudo" - -For now, the only supported value is `sudo`, which hides the username and hostname, and shows an indicator when `sudo` has the credentials cached. Other values have no effect at this time. - -### Clock Format - -You can change the format using the following variable: - - THEME_CLOCK_FORMAT="%H:%M:%S" - -The time/date is printed by the `date` command, so refer to its man page to change the format. - -### Segment Order - -The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: - -* battery -* clock -* cwd -* in_vim -* python_venv -* ruby -* scm -* user_info - -A variables can be defined to set the order of the prompt segments: - - POWERLINE_PROMPT="user_info scm python_venv ruby cwd" - -The example values above are the current default values, but if you want to remove anything from the prompt, simply remove the "string" that represents the segment from the variable. diff --git a/themes/powerline-flies/powerline-flies.base.bash b/themes/powerline-flies/powerline-flies.base.bash deleted file mode 100644 index 0984bba8..00000000 --- a/themes/powerline-flies/powerline-flies.base.bash +++ /dev/null @@ -1,38 +0,0 @@ -. "$BASH_IT/themes/powerline/powerline.base.bash" - -function __powerline_wd_prompt { - echo "\W|${CWD_THEME_PROMPT_COLOR}" -} - -function __powerline_left_segment { - local OLD_IFS="${IFS}"; IFS="|" - local params=( $1 ) - IFS="${OLD_IFS}" - - LEFT_PROMPT+="${separator}$(set_color - ${params[1]}) ${params[0]} ${normal}" - LAST_SEGMENT_COLOR=${params[1]} -} - -function __powerline_prompt_command { - local last_status="$?" ## always the first - local separator_char="${POWERLINE_PROMPT_CHAR}" - - LEFT_PROMPT="" - SEGMENTS_AT_LEFT=0 - LAST_SEGMENT_COLOR="" - - ## left prompt ## - for segment in $POWERLINE_PROMPT; do - local info="$(__powerline_${segment}_prompt)" - [[ -n "${info}" ]] && __powerline_left_segment "${info}" - done - [[ "${last_status}" -ne 0 ]] && __powerline_left_segment $(__powerline_last_status_prompt ${last_status}) - [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(set_color ${LAST_SEGMENT_COLOR} -)${separator_char}${normal}" - - PS1="${LEFT_PROMPT} " - - ## cleanup ## - unset LAST_SEGMENT_COLOR \ - LEFT_PROMPT \ - SEGMENTS_AT_LEFT -} diff --git a/themes/powerline-flies/powerline-flies.theme.bash b/themes/powerline-flies/powerline-flies.theme.bash deleted file mode 100644 index 98503720..00000000 --- a/themes/powerline-flies/powerline-flies.theme.bash +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash - -. "$BASH_IT/themes/powerline-flies/powerline-flies.base.bash" - -USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁"} -USER_INFO_THEME_PROMPT_COLOR=32 -USER_INFO_THEME_PROMPT_COLOR_SUDO=202 - -PYTHON_VENV_CHAR=${POWERLINE_PYTHON_VENV_CHAR:="ⓔ "} -CONDA_PYTHON_VENV_CHAR=${POWERLINE_CONDA_PYTHON_VENV_CHAR:="ⓔ "} -PYTHON_VENV_THEME_PROMPT_COLOR=35 - -SCM_NONE_CHAR="" -SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:="⎇ "} -SCM_THEME_PROMPT_CLEAN="" -SCM_THEME_PROMPT_DIRTY="" -SCM_THEME_PROMPT_CLEAN_COLOR=25 -SCM_THEME_PROMPT_DIRTY_COLOR=88 -SCM_THEME_PROMPT_STAGED_COLOR=30 -SCM_THEME_PROMPT_UNSTAGED_COLOR=92 -SCM_THEME_PROMPT_COLOR=${SCM_THEME_PROMPT_CLEAN_COLOR} - -RVM_THEME_PROMPT_PREFIX="" -RVM_THEME_PROMPT_SUFFIX="" -RBENV_THEME_PROMPT_PREFIX="" -RBENV_THEME_PROMPT_SUFFIX="" -RUBY_THEME_PROMPT_COLOR=161 -RUBY_CHAR=${POWERLINE_RUBY_CHAR:="ⓔ "} - -CWD_THEME_PROMPT_COLOR=240 - -LAST_STATUS_THEME_PROMPT_COLOR=52 - -CLOCK_THEME_PROMPT_COLOR=240 - -BATTERY_AC_CHAR=${BATTERY_AC_CHAR:="⚡"} -BATTERY_STATUS_THEME_PROMPT_GOOD_COLOR=70 -BATTERY_STATUS_THEME_PROMPT_LOW_COLOR=208 -BATTERY_STATUS_THEME_PROMPT_CRITICAL_COLOR=160 - -THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%H:%M:%S"} - -IN_VIM_THEME_PROMPT_COLOR=245 -IN_VIM_THEME_PROMPT_TEXT="vim" - -POWERLINE_PROMPT_CHAR="$" -POWERLINE_PROMPT=${POWERLINE_PROMPT:="user_info scm python_venv wd"} - -safe_append_prompt_command __powerline_prompt_command From e3abf2d2311f872220ccb93ae5c6516012386704 Mon Sep 17 00:00:00 2001 From: Dan Flies Date: Mon, 11 Dec 2017 13:07:45 -0600 Subject: [PATCH 7/7] Revert "Changed the broken icons" This reverts commit 4986468e89adeb7ee48ba6ab43fcd9e14fdce2a7. --- themes/powerline/powerline.theme.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/powerline/powerline.theme.bash b/themes/powerline/powerline.theme.bash index 831af77e..12de9cbe 100644 --- a/themes/powerline/powerline.theme.bash +++ b/themes/powerline/powerline.theme.bash @@ -2,10 +2,10 @@ . "$BASH_IT/themes/powerline/powerline.base.bash" -PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:="$"} -POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""} +PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:=""} +POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""} -USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:="⌁"} +USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:=" "} USER_INFO_THEME_PROMPT_COLOR=32 USER_INFO_THEME_PROMPT_COLOR_SUDO=202 @@ -14,7 +14,7 @@ CONDA_PYTHON_VENV_CHAR=${POWERLINE_CONDA_PYTHON_VENV_CHAR:="❲c❳ "} PYTHON_VENV_THEME_PROMPT_COLOR=35 SCM_NONE_CHAR="" -SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:="⎇ "} +SCM_GIT_CHAR=${POWERLINE_SCM_GIT_CHAR:=" "} SCM_THEME_PROMPT_CLEAN="" SCM_THEME_PROMPT_DIRTY="" SCM_THEME_PROMPT_CLEAN_COLOR=25