forked from zaiste/vimified
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall
More file actions
executable file
·37 lines (33 loc) · 776 Bytes
/
install
File metadata and controls
executable file
·37 lines (33 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/zsh -x
cd
if [[ ! -d .config/nvim ]]
then
mkdir .config || true
git clone --recursive git@github.com:riannucci/vimified.git .config/nvim
fi
if [[ ! -d .oh-my-zsh ]]
then
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
( mkdir -p .oh-my-zsh/custom/plugins &&
cd .oh-my-zsh/custom/plugins &&
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git )
fi
ln -sf .config/nvim/rando_dotfiles/xmodmap .xmodmap
ln -sf .config/nvim/rando_dotfiles/ackrc .ackrc
ln -sf .config/nvim/rando_dotfiles/gitconfig .gitconfig
vim +PlugInstall +qa
ex .zshrc <<EOH
0
/^plugins
if line('.') == 1
q
endif
c
source ~/.config/nvim/rando_dotfiles/zshrc.plugins
.
$
a
source ~/.config/nvim/rando_dotfiles/zshrc.extra
.
wq
EOH