Swap all references of oh-my-zsh to Prezto
This commit is contained in:
4
Rakefile
4
Rakefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user