diff --git a/Rakefile b/Rakefile index d9e4613..6abbc5a 100644 --- a/Rakefile +++ b/Rakefile @@ -254,12 +254,10 @@ def install_prezto puts puts "Installing Prezto (ZSH Enhancements)..." - unless File.exists?(File.join(ENV['ZDOTDIR'] || ENV['HOME'], ".zprezto")) - run %{ ln -nfs "$HOME/.yadr/zsh/prezto" "${ZDOTDIR:-$HOME}/.zprezto" } + run %{ ln -nfs "$HOME/.yadr/zsh/prezto" "${ZDOTDIR:-$HOME}/.zprezto" } - # The prezto runcoms are only going to be installed if zprezto has never been installed - file_operation(Dir.glob('zsh/prezto/runcoms/z*'), :copy) - end + # The prezto runcoms are only going to be installed if zprezto has never been installed + file_operation(Dir.glob('zsh/prezto/runcoms/z*'), :copy) puts puts "Overriding prezto ~/.zpreztorc with YADR's zpreztorc to enable additional modules..."