Skip to content

Commit

Permalink
I should commit more often...
Browse files Browse the repository at this point in the history
  * Change zsh prompt
  * Add sass/compass to ack config
  * Add new autotest images
  * Simplify autotest config
  * Simplify screenrc
  * Add aliases to most common Ruby/Rails commands to preface
    with 'bundle exec' when a Gemfile exists for a project
  • Loading branch information
scudco committed Oct 15, 2010
1 parent fabfe78 commit 67ed740
Show file tree
Hide file tree
Showing 27 changed files with 55 additions and 268 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@
[submodule "submodules/histwin.vim"]
path = submodules/histwin.vim
url = http://github.com/chrisbra/histwin.vim.git
[submodule "submodules/vim-haml"]
path = submodules/vim-haml
url = http://github.com/tpope/vim-haml.git
[submodule "submodules/vim-cucumber"]
path = submodules/vim-cucumber
url = http://github.com/tpope/vim-cucumber.git
3 changes: 2 additions & 1 deletion all/ackrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ less -r
ruby=.haml
--type-add
css=.sass
--type-add
css=.scss
--ruby
--css
--js

12 changes: 6 additions & 6 deletions all/autotest
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'autotest/fsevent'
require 'autotest/timestamp'
require 'autotest/screen'
require 'autotest/restart'
require 'autotest/redgreen'
#require 'autotest/screen'
#require 'autotest/redgreen'

Autotest::Screen.statusline = ''
#Autotest::Screen.statusline = ''

AUTOTEST_IMAGE_PATH = File.join(File.dirname(__FILE__),".autotest_images")

Expand All @@ -26,11 +26,11 @@ module Autotest::Growl

if failed.to_i > 0
cnt = [(9 + failed.to_i) / 10 * 10, 50].min
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/fail#{cnt}.png"
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/ruby_red.png"
elsif pending.to_i > 0
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/pass.png"
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/ruby_yellow.png"
else
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/pass.png"
growl "Test Results", "#{output}", "#{AUTOTEST_IMAGE_PATH}/ruby_green.png"
end
end
end
Expand Down
Binary file added all/autotest_images/ruby_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all/autotest_images/ruby_grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all/autotest_images/ruby_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all/autotest_images/ruby_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion all/screenrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defutf8 on
defflow off
vbell off
startup_message off
caption always "%{= kw}%-w%{=b KW}%n %t%{-}%+w %-= %{=b B}$LOGNAME@%H%{-} %D %d %M%C%a %{K}|%{b G} %l"
caption always "%{= kw}%-w%{=b KW}%n %t%{-}%+w %-= %{=b C}$LOGNAME@%H%{-} %{K}| %d %M%C%a %{b G}"
escape ``

defscrollback 1000
Expand Down
1 change: 1 addition & 0 deletions all/vim/compiler/cucumber.vim
2 changes: 0 additions & 2 deletions all/vim/ftdetect/cucumber.vim

This file was deleted.

1 change: 1 addition & 0 deletions all/vim/ftdetect/cucumber.vim
1 change: 1 addition & 0 deletions all/vim/ftdetect/haml.vim
124 changes: 0 additions & 124 deletions all/vim/ftplugin/cucumber.vim

This file was deleted.

1 change: 1 addition & 0 deletions all/vim/ftplugin/cucumber.vim
1 change: 1 addition & 0 deletions all/vim/ftplugin/haml.vim
1 change: 1 addition & 0 deletions all/vim/ftplugin/sass.vim
1 change: 1 addition & 0 deletions all/vim/ftplugin/scss.vim
36 changes: 0 additions & 36 deletions all/vim/indent/cucumber.vim

This file was deleted.

1 change: 1 addition & 0 deletions all/vim/indent/cucumber.vim
1 change: 1 addition & 0 deletions all/vim/indent/haml.vim
1 change: 1 addition & 0 deletions all/vim/indent/sass.vim
1 change: 1 addition & 0 deletions all/vim/indent/scss.vim
94 changes: 0 additions & 94 deletions all/vim/syntax/cucumber.vim

This file was deleted.

1 change: 1 addition & 0 deletions all/vim/syntax/cucumber.vim
1 change: 1 addition & 0 deletions all/vim/syntax/haml.vim
1 change: 1 addition & 0 deletions all/vim/syntax/sass.vim
1 change: 1 addition & 0 deletions all/vim/syntax/scss.vim
Loading

0 comments on commit 67ed740

Please sign in to comment.