-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.zsh
executable file
·55 lines (45 loc) · 946 Bytes
/
install.zsh
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/zsh
# vim
if [ ! -e ~/.vim ]; then
ln -s ~/.dotfiles/vim ~/.vim
fi
if [ ! -e ~/.vimrc ]; then
ln -s ~/.dotfiles/vimrc ~/.vimrc
fi
if [ ! -e ~/.gvimrc ]; then
ln -s ~/.dotfiles/gvimrc ~/.gvimrc
fi
#nvim
if [ ! -e ~/.config/nvim/init.lua ]; then
mkdir -p ~/.config/nvim
ln -s ~/.dotfiles/init.lua ~/.config/nvim/init.lua
fi
# gemrc
if [ ! -e ~/.gemrc ]; then
ln -s ~/.dotfiles/gemrc ~/.gemrc
fi
# screenrc
if [ ! -e ~/.screenrc ]; then
ln -s ~/.dotfiles/screenrc ~/.screenrc
fi
# tmux
if [ ! -e ~/.tmux.conf ]; then
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
fi
# ackrc
if [ ! -e ~/.ackrc ]; then
ln -s ~/.dotfiles/ackrc ~/.ackrc
fi
if [ ! -e ~/.zshrc ]; then
ln -s ~/.dotfiles/zshrc ~/.zshrc
fi
if [ ! -e ~/.zshenv ]; then
ln -s ~/.dotfiles/zshenv ~/.zshenv
fi
if [ ! -e ~/.p10k.zsh ]; then
ln -s ~/.dotfiles/p10k.zsh ~/.p10k.zsh
fi
# psql
if [ ! -e ~/.psqlrc ]; then
ln -s ~/.dotfiles/psqlrc ~/.psqlrc
fi