We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e81fff commit 5200c59Copy full SHA for 5200c59
Rakefile
@@ -3,10 +3,9 @@ require 'erb'
3
4
desc "install the dot files into user's home directory"
5
task :install do
6
- install_fish
7
switch_to_fish
8
replace_all = false
9
- files = Dir['*'] - %w[Rakefile README.md LICENSE]
+ files = Dir['*'] - %w[Rakefile README.md LICENSE Brewfile]
10
files.each do |file|
11
system %Q{mkdir -p "$HOME/.#{File.dirname(file)}"} if file =~ /\//
12
if File.exist?(File.join(ENV['HOME'], ".#{file.sub(/\.erb$/, '')}"))
@@ -64,6 +63,7 @@ def switch_to_fish
64
63
case $stdin.gets.chomp
65
when 'y'
66
puts "switching to fish"
+ install_fish
67
system %Q{chsh -s `which fish`}
68
when 'q'
69
exit
0 commit comments