File tree Expand file tree Collapse file tree 6 files changed +28
-5
lines changed Expand file tree Collapse file tree 6 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ prompt_histdt() {
235
235
}
236
236
237
237
git_status_dirty () {
238
- local dirty=
238
+ local dirty
239
239
dirty=$( git status --porcelain 2> /dev/null | tail -n 1)
240
240
[[ -n $dirty ]] && echo " ●"
241
241
}
Original file line number Diff line number Diff line change 11
11
# Screenshot: http://goo.gl/VCmX5
12
12
# by Jesus de Mula <[email protected] >
13
13
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
+
14
36
# ----------------------------------------------------------------- COLOR CONF
15
37
D_DEFAULT_COLOR=" ${normal?} "
16
38
D_INTERMEDIATE_COLOR=" ${white?} "
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ SCM_GIT_SHOW_MINIMAL_INFO=true
32
32
CLOCK_THEME_PROMPT_PREFIX=' '
33
33
CLOCK_THEME_PROMPT_SUFFIX=' '
34
34
THEME_SHOW_CLOCK=false
35
- THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " $bold_blue ?" }
35
+ THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " ${ bold_blue?} " }
36
36
THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:- " %I:%M:%S" }
37
37
38
38
THEME_SHOW_USER_HOST=true
Original file line number Diff line number Diff line change @@ -98,9 +98,10 @@ function ip_prompt_info() {
98
98
99
99
# Displays virtual info prompt (virtualenv/rvm)
100
100
function virtual_prompt_info() {
101
- local virtual_env_info rvm_info virtual_prompt= " "
101
+ local virtual_env_info rvm_info virtual_prompt
102
102
virtual_env_info=$( virtualenv_prompt)
103
103
rvm_info=$( ruby_version_prompt)
104
+ virtual_prompt=" "
104
105
105
106
local prefix=${VIRTUAL_THEME_PROMPT_PREFIX}
106
107
local suffix=${VIRTUAL_THEME_PROMPT_SUFFIX}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function prompt_command() {
55
55
fi
56
56
57
57
local wrap_char=" "
58
- [[ $COLUMNS && ${# new_PS1} -gt $(( COLUMNS / 1 )) ]] && wrap_char=" \n"
58
+ [[ $COLUMNS && ${# new_PS1} -gt COLUMNS ]] && wrap_char=" \n"
59
59
PS1=" ${new_PS1}${green?}${wrap_char} →${reset_color?} "
60
60
}
61
61
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function prompt_command() {
28
28
$arrow $prompt "
29
29
}
30
30
31
- THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " $yellow ?" }
31
+ THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:- " ${ yellow?} " }
32
32
THEME_CLOCK_FORMAT=${THEME_TIME_FORMAT:- " %I:%M:%S " }
33
33
34
34
safe_append_prompt_command prompt_command
You can’t perform that action at this time.
0 commit comments