From 9c019963060b9b0ff383f4a199726e0016fa3b6c Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 19 Jul 2011 09:36:44 -0400 Subject: [PATCH] gemfile, yeah --- .gitignore | 3 ++- Gemfile | 4 ++++ lib/iterm_window.rb | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 Gemfile diff --git a/.gitignore b/.gitignore index 86339a0..cec3cb5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.gem \ No newline at end of file +*.gem +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..9d54627 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source :rubygems + +gemspec + diff --git a/lib/iterm_window.rb b/lib/iterm_window.rb index 81b9031..9681fe3 100755 --- a/lib/iterm_window.rb +++ b/lib/iterm_window.rb @@ -241,7 +241,7 @@ class ItermWindow # Sets the title of the tab (ie the text on the iTerm tab itself) def tab_color(color) if @currently_executing_block - output "write text 'cat #{file = create_tab_color_file(color)} && rm #{file}'" + output "write text 'cat #{file = create_tab_color_file(color)} && rm -f #{file}'" else execute_block { tab_color(color) } end