install zsh before intalling ycm
This commit is contained in:
parent
302631b576
commit
92b63ad882
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ vim/sessions
|
|||||||
.netrwhist
|
.netrwhist
|
||||||
bin/subl
|
bin/subl
|
||||||
tags
|
tags
|
||||||
|
.idea
|
||||||
|
13
Rakefile
13
Rakefile
@ -38,6 +38,8 @@ task :install => [:submodule_init, :submodules] do
|
|||||||
Rake::Task["install_vundle"].execute
|
Rake::Task["install_vundle"].execute
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Rake::Task["install_zsh"].execute
|
||||||
|
|
||||||
Rake::Task["install_ycm"].execute
|
Rake::Task["install_ycm"].execute
|
||||||
|
|
||||||
Rake::Task["install_prezto"].execute
|
Rake::Task["install_prezto"].execute
|
||||||
@ -57,6 +59,17 @@ task :install_prezto do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :install_zsh do
|
||||||
|
if want_to_install?('zsh')
|
||||||
|
run %{
|
||||||
|
which zsh
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
sudo apt install zsh -y
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
task :install_ycm do
|
task :install_ycm do
|
||||||
if want_to_install?('YouCompleteMe')
|
if want_to_install?('YouCompleteMe')
|
||||||
run %{
|
run %{
|
||||||
|
Loading…
Reference in New Issue
Block a user