Swap all references of oh-my-zsh to Prezto

This commit is contained in:
Jean Mertz
2012-08-09 18:09:50 +02:00
parent 7079ae1432
commit 9c3ab949a5
9 changed files with 11 additions and 75 deletions

View File

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