Skip to content

Commit 5c1187c

Browse files
committed
Apply fixes
1 parent e21bccc commit 5c1187c

File tree

6 files changed

+28
-5
lines changed

6 files changed

+28
-5
lines changed

themes/agnoster/agnoster.theme.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ prompt_histdt() {
235235
}
236236

237237
git_status_dirty() {
238-
local dirty=
238+
local dirty
239239
dirty=$(git status --porcelain 2> /dev/null | tail -n 1)
240240
[[ -n $dirty ]] && echo ""
241241
}

themes/demula/demula.theme.bash

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,28 @@
1111
# Screenshot: http://goo.gl/VCmX5
1212
# by Jesus de Mula <[email protected]>
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
1537
D_DEFAULT_COLOR="${normal?}"
1638
D_INTERMEDIATE_COLOR="${white?}"

themes/font/font.theme.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SCM_GIT_SHOW_MINIMAL_INFO=true
3232
CLOCK_THEME_PROMPT_PREFIX=''
3333
CLOCK_THEME_PROMPT_SUFFIX=' '
3434
THEME_SHOW_CLOCK=false
35-
THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:-"$bold_blue?"}
35+
THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:-"${bold_blue?}"}
3636
THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:-"%I:%M:%S"}
3737

3838
THEME_SHOW_USER_HOST=true

themes/hawaii50/hawaii50.theme.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ function ip_prompt_info() {
9898

9999
# Displays virtual info prompt (virtualenv/rvm)
100100
function 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}

themes/iterate/iterate.theme.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

themes/luan/luan.theme.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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?}"}
3232
THEME_CLOCK_FORMAT=${THEME_TIME_FORMAT:-"%I:%M:%S "}
3333

3434
safe_append_prompt_command prompt_command

0 commit comments

Comments
 (0)