Skip to content

Commit

Permalink
fix string in shell.init.script
Browse files Browse the repository at this point in the history
fixes openhab#570
fixes openhab/openhab-docker#128
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
  • Loading branch information
sjsf committed Dec 15, 2017
1 parent 0b399ac commit 97a69a5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -47,7 +47,7 @@ if { %(jlineReader != null) } {
# On 256 colors terminal, add a right prompt
max_colors = ($.jline.terminal getNumericCapability max_colors)
if { %(max_colors >= 256) } {
__rprompt_formatter = (((__load_class java.text.SimpleDateFormat) getConstructor (__load_class java.lang.String)) newInstance \'$'\u001B\[90m'\'HH:mm:ss)
__rprompt_formatter = (((__load_class java.text.SimpleDateFormat) getConstructor (__load_class java.lang.String)) newInstance '$'\u001B\[90m'\'HH:mm:ss)
__date_class = (__load_class java.util.Date)
// Do not use right prompt by default
// \#rprompt = { $__rprompt_formatter format ($__date_class newInstance) }
Expand Down

0 comments on commit 97a69a5

Please sign in to comment.