Always install zshrc; prevents problems if prezto dir exists but zshrc is missing [Fix #452]
This commit is contained in:
parent
742561a67d
commit
deedc27c3f
8
Rakefile
8
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..."
|
||||
|
Loading…
Reference in New Issue
Block a user