Merge pull request #91 from msaffitz/master

Fix typo in Rakefile : zsh_theme
This commit is contained in:
Yan Pritzker 2012-04-23 14:52:09 -07:00
commit 1b42b8d0df

View File

@ -55,7 +55,7 @@ task :zsh_themes do
if File.exist?("#{ENV['HOME']}/.oh-my-zsh/modules/prompt/functions") if File.exist?("#{ENV['HOME']}/.oh-my-zsh/modules/prompt/functions")
puts "Detected oh-my-zsh @sorin-ionescu version." puts "Detected oh-my-zsh @sorin-ionescu version."
run %{ ln -nfs #{ENV["PWD"]}/oh-my-zsh/modules/prompt/functions/* $HOME/.oh-my-zsh/modules/prompt/functions/ } if want_to_install?('zsh themes') run %{ ln -nfs #{ENV["PWD"]}/oh-my-zsh/modules/prompt/functions/* $HOME/.oh-my-zsh/modules/prompt/functions/ } if want_to_install?('zsh themes')
elsif File.exist("#{ENV['HOME']}/.oh-my-zsh") elsif File.exist?("#{ENV['HOME']}/.oh-my-zsh")
puts "Detected oh-my-zsh @robbyrussell version." puts "Detected oh-my-zsh @robbyrussell version."
run %{ ln -nfs #{ENV["PWD"]}/oh-my-zsh/themes/* $HOME/.oh-my-zsh/themes/ } if want_to_install?('zsh themes') run %{ ln -nfs #{ENV["PWD"]}/oh-my-zsh/themes/* $HOME/.oh-my-zsh/themes/ } if want_to_install?('zsh themes')
end end