diff options
author | Tim Hinderliter <tim@opscode.com> | 2010-02-05 14:57:32 -0800 |
---|---|---|
committer | Tim Hinderliter <tim@opscode.com> | 2010-02-05 14:57:32 -0800 |
commit | a845bc55eb5e18b4df42a65636d2ba0d75850d6f (patch) | |
tree | 42bbddce83cbbbab3c92bede34e222ed9cefd2f4 /scripts | |
parent | 73d3bcddea38209905110a7927449cf9a117857c (diff) | |
download | chef-a845bc55eb5e18b4df42a65636d2ba0d75850d6f.tar.gz |
updated cucumber.yml to work with cucumber 0.6, fixing CHEF-925; fixed incorrect whitespace in template feature (tab embedded in a scenario description); added terminal escape sequences to scripts/mac-dev-start so that process names are in tab titles
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mac-dev-start | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mac-dev-start b/scripts/mac-dev-start index ceef75fd3d..ad25d7bd2b 100755 --- a/scripts/mac-dev-start +++ b/scripts/mac-dev-start @@ -32,7 +32,13 @@ def activate_terminal end def start_service_in_last_tab(window,service) - app('Terminal').do_script(BASE_CMD+service, :in => window.tabs.last.get) + # use xterm escape codes to set the tab title to the service running in the tab. + cmd = + "unset PROMPT_COMMAND; echo -e \"\\033]0;#{service}\\007\"; " + + BASE_CMD + + service + + app('Terminal').do_script(cmd, :in => window.tabs.last.get) sleep DELAY end |