summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Hinderliter <tim@opscode.com>2010-02-05 14:57:32 -0800
committerTim Hinderliter <tim@opscode.com>2010-02-05 14:57:32 -0800
commita845bc55eb5e18b4df42a65636d2ba0d75850d6f (patch)
tree42bbddce83cbbbab3c92bede34e222ed9cefd2f4 /scripts
parent73d3bcddea38209905110a7927449cf9a117857c (diff)
downloadchef-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-xscripts/mac-dev-start8
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