install utilities
This commit is contained in:
parent
ff672290d4
commit
63c8a6efc4
12
Rakefile
12
Rakefile
@ -32,6 +32,8 @@ task :install => [:submodule_init, :submodules] do
|
|||||||
Rake::Task["install_vundle"].execute
|
Rake::Task["install_vundle"].execute
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Rake::Task["install_utilities"].execute
|
||||||
|
|
||||||
Rake::Task["install_zsh"].execute
|
Rake::Task["install_zsh"].execute
|
||||||
|
|
||||||
Rake::Task["install_ycm"].execute
|
Rake::Task["install_ycm"].execute
|
||||||
@ -53,6 +55,16 @@ task :install_prezto do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :install_utilities do
|
||||||
|
run %{
|
||||||
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
|
brew install git
|
||||||
|
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
|
||||||
|
apt install git fc-cache -y
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
task :install_zsh do
|
task :install_zsh do
|
||||||
if want_to_install?('zsh')
|
if want_to_install?('zsh')
|
||||||
run %{
|
run %{
|
||||||
|
Loading…
Reference in New Issue
Block a user