Skip to content

Commit 5200c59

Browse files
author
Rajesh Sharma
committedJun 15, 2017
Update installation
1 parent 9e81fff commit 5200c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ require 'erb'
33

44
desc "install the dot files into user's home directory"
55
task :install do
6-
install_fish
76
switch_to_fish
87
replace_all = false
9-
files = Dir['*'] - %w[Rakefile README.md LICENSE]
8+
files = Dir['*'] - %w[Rakefile README.md LICENSE Brewfile]
109
files.each do |file|
1110
system %Q{mkdir -p "$HOME/.#{File.dirname(file)}"} if file =~ /\//
1211
if File.exist?(File.join(ENV['HOME'], ".#{file.sub(/\.erb$/, '')}"))
@@ -64,6 +63,7 @@ def switch_to_fish
6463
case $stdin.gets.chomp
6564
when 'y'
6665
puts "switching to fish"
66+
install_fish
6767
system %Q{chsh -s `which fish`}
6868
when 'q'
6969
exit

0 commit comments

Comments
 (0)
Please sign in to comment.