Better spacing
This commit is contained in:
parent
6312f392e4
commit
d2511067ae
|
@ -62,13 +62,13 @@ local git_branch='$(git_prompt_info)'
|
||||||
|
|
||||||
local PR_TEMP=""
|
local PR_TEMP=""
|
||||||
|
|
||||||
command -v vcgencmd > /dev/null && PR_TEMP='${PR_GREEN}‹$(vcgencmd measure_temp | cut -d = -f 2)›${PR_NO_COLOR} '
|
command -v vcgencmd > /dev/null && PR_TEMP=' ${PR_GREEN}‹$(vcgencmd measure_temp | cut -d = -f 2)›${PR_NO_COLOR}'
|
||||||
|
|
||||||
#PROMPT="${user_host} ${current_dir} ${rvm_ruby}${git_branch}$PR_PROMPT "
|
#PROMPT="${user_host} ${current_dir} ${rvm_ruby}${git_branch}$PR_PROMPT "
|
||||||
separator='${PR_YELLOW}::${PR_NO_COLOR}'
|
separator='${PR_YELLOW}::${PR_NO_COLOR}'
|
||||||
tty | read tty_value
|
tty | read tty_value
|
||||||
if [[ $tty_value == *pts* ]]; then # if in a tty
|
if [[ $tty_value == *pts* ]]; then # if in a tty
|
||||||
PROMPT="$PR_ARROW_UP${user_host}${separator}${PR_NO_COLOR}${current_dir} ${rvm_ruby} ${git_branch}${PR_TEMP}
|
PROMPT="$PR_ARROW_UP${user_host}${separator}${PR_NO_COLOR}${current_dir} ${rvm_ruby}${git_branch}${PR_TEMP}
|
||||||
$PR_ARROW_DOWN$PR_PROMPT ${PR_NO_COLOR}"
|
$PR_ARROW_DOWN$PR_PROMPT ${PR_NO_COLOR}"
|
||||||
return_code="%(?.%{$PR_GREEN%}%? ↵%{$PR_NO_COLOR%}.%{$PR_RED%}%? ↵%{$PR_NO_COLOR%})"
|
return_code="%(?.%{$PR_GREEN%}%? ↵%{$PR_NO_COLOR%}.%{$PR_RED%}%? ↵%{$PR_NO_COLOR%})"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue