-
Notifications
You must be signed in to change notification settings - Fork 2
/
oh_my_zsh_and_janus.rb
17 lines (15 loc) · 1.1 KB
/
oh_my_zsh_and_janus.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dep 'oh-my-zsh and janus' do
met? {
"~/.oh-my-zsh/custom/j2fly_shortcuts.zsh".p.exists? && "~/.vim/colors/j2fly.vim".p.exists?
}
meet {
log "Initializing the submodule for .oh-my-zsh and .vim"
shell 'cd ~/.dotfiles; git submodule init; git submodule update;'
log_shell "Symlinking j2fly_shortcuts.zsh", "ln -nsF /Users/`whoami`/.dotfiles/zsh_conf/custom/j2fly_shortcuts.zsh /Users/`whoami`/.oh-my-zsh/custom/j2fly_shortcuts.zsh"
log_shell "Symlinking j2fly zsh theme", "ln -nsF /Users/`whoami`/.dotfiles/zsh_conf/j2fly.zsh-theme /Users/`whoami`/.oh-my-zsh/themes/j2fly.zsh-theme"
log_shell "Setting up Janus by running Rake", "cd ~/.vim;rake"
log_shell "Symlinking j2fly.vim colorscheme", "ln -nsF /Users/`whoami`/.dotfiles/vim_conf/colors/j2fly.vim /Users/`whoami`/.vim/colors/j2fly.vim"
log_shell "Symlinking j2fly.snippets", "ln -nsF /Users/`whoami`/.dotfiles/vim_conf/snippets/j2fly.snippets /Users/`whoami`/.vim/snippets/j2fly.snippets"
log_shell "Symlinking mvim script to a folder in the path", "ln -nsF /Users/`whoami`/.dotfiles/vim_conf/mvim /usr/local/bin/mvim"
}
end