File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ prompt_histdt() {
235235}
236236
237237git_status_dirty () {
238- local dirty=
238+ local dirty
239239 dirty=$( git status --porcelain 2> /dev/null | tail -n 1)
240240 [[ -n $dirty ]] && echo " ●"
241241}
Original file line number Diff line number Diff line change 1111# Screenshot: http://goo.gl/VCmX5
1212# by Jesus de Mula <jesus@demula.name>
1313
14+ # # For the real Monokai colors you should add these to your .XDefaults or
15+ # # terminal configuration:
16+ # # ! ----------------------------------------------------------- TERMINAL COLORS
17+ # # ! monokai - http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/
18+ # # *background: #272822
19+ # # *foreground: #E2DA6E
20+ # # *color0: black
21+ # # ! mild red
22+ # # *color1: #CD0000
23+ # # ! light green
24+ # # *color2: #A5E02D
25+ # # ! orange (yellow)
26+ # # *color3: #FB951F
27+ # # ! "dark" blue
28+ # # *color4: #076BCC
29+ # # ! hot pink
30+ # # *color5: #F6266C
31+ # # ! cyan
32+ # # *color6: #64D9ED
33+ # # ! gray
34+ # # *color7: #E5E5E5
35+
1436# ----------------------------------------------------------------- COLOR CONF
1537D_DEFAULT_COLOR=" ${normal?} "
1638D_INTERMEDIATE_COLOR=" ${white?} "
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ SCM_GIT_SHOW_MINIMAL_INFO=true
3232CLOCK_THEME_PROMPT_PREFIX=' '
3333CLOCK_THEME_PROMPT_SUFFIX=' '
3434THEME_SHOW_CLOCK=false
35- THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " $bold_blue ?" }
35+ THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " ${ bold_blue?} " }
3636THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:- " %I:%M:%S" }
3737
3838THEME_SHOW_USER_HOST=true
Original file line number Diff line number Diff line change @@ -98,9 +98,10 @@ function ip_prompt_info() {
9898
9999# Displays virtual info prompt (virtualenv/rvm)
100100function virtual_prompt_info() {
101- local virtual_env_info rvm_info virtual_prompt= " "
101+ local virtual_env_info rvm_info virtual_prompt
102102 virtual_env_info=$( virtualenv_prompt)
103103 rvm_info=$( ruby_version_prompt)
104+ virtual_prompt=" "
104105
105106 local prefix=${VIRTUAL_THEME_PROMPT_PREFIX}
106107 local suffix=${VIRTUAL_THEME_PROMPT_SUFFIX}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function prompt_command() {
5555 fi
5656
5757 local wrap_char=" "
58- [[ $COLUMNS && ${# new_PS1} -gt $(( COLUMNS / 1 )) ]] && wrap_char=" \n"
58+ [[ $COLUMNS && ${# new_PS1} -gt COLUMNS ]] && wrap_char=" \n"
5959 PS1=" ${new_PS1}${green?}${wrap_char} →${reset_color?} "
6060}
6161
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function prompt_command() {
2828 $arrow $prompt "
2929}
3030
31- THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " $yellow ?" }
31+ THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " ${ yellow?} " }
3232THEME_CLOCK_FORMAT=${THEME_TIME_FORMAT:- " %I:%M:%S " }
3333
3434safe_append_prompt_command prompt_command
You can’t perform that action at this time.
0 commit comments