diff --git a/Rakefile b/Rakefile index 66b0d2f..457a4f9 100644 --- a/Rakefile +++ b/Rakefile @@ -27,7 +27,7 @@ task :install => [:submodule_init, :submodules] do Rake::Task["install_prezto"].execute - install_fonts if RUBY_PLATFORM.downcase.include?("darwin") + install_fonts install_term_theme if RUBY_PLATFORM.downcase.include?("darwin") @@ -181,7 +181,8 @@ def install_fonts puts "======================================================" puts "Installing patched fonts for Powerline/Lightline." puts "======================================================" - run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } + run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } if RUBY_PLATFORM.downcase.include?("darwin") + run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* "$_" && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux") puts end