felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1736035 - /felix/trunk/gogo/jline/src/main/resources/gosh_profile
Date Mon, 21 Mar 2016 16:57:22 GMT
Author: gnodet
Date: Mon Mar 21 16:57:22 2016
New Revision: 1736035

URL: http://svn.apache.org/viewvc?rev=1736035&view=rev
Log:
Fix prompt due to quote handling

Modified:
    felix/trunk/gogo/jline/src/main/resources/gosh_profile

Modified: felix/trunk/gogo/jline/src/main/resources/gosh_profile
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/jline/src/main/resources/gosh_profile?rev=1736035&r1=1736034&r2=1736035&view=diff
==============================================================================
--- felix/trunk/gogo/jline/src/main/resources/gosh_profile (original)
+++ felix/trunk/gogo/jline/src/main/resources/gosh_profile Mon Mar 21 16:57:22 2016
@@ -45,9 +45,9 @@ try {
 
   # set prompt
   prompt = 'g! '
-  \#rprompt = { (new java.text.SimpleDateFormat \'\u001B\[90m\'HH:mm:ss) format (new Date)
}
+  \#rprompt = { (new java.text.SimpleDateFormat \'$'\u001B\\[90m'\'HH:mm:ss) format (new
Date) }
   # could also be written
-  #  rprompt = { date +\u001B\\\[90m\%T }
+  #  rprompt = { date +$'\u001B\[90m%T' }
 
 
   __option_not_present = {



Mime
View raw message