feat: add init.sh

This commit is contained in:
2019-01-15 14:06:57 +08:00
parent 001f5a1e16
commit 7ea44f08d6
3 changed files with 13 additions and 3 deletions
+4
View File
@@ -61,6 +61,9 @@ name = "lang#html"
[[layers]]
name = "lang#typescript"
[[layers]]
name = "lang/vim"
[[layers]]
name = "fzf"
@@ -71,3 +74,4 @@ name = "VersionControl"
name = "tmux"
+9
View File
@@ -0,0 +1,9 @@
#!bin/sh
git clone https://github.com/Laily123/.dotfile.git ~/.dotfile
sudo yum update && sudo yum -y install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
ln -sf ~/.dotfile/.zshrc ~/
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/
ln -sf ~/.dotfile/.tmux.conf ~/
ln -sf ~/.dotfile/.gitconfig ~/.gitconfig
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
ln -sf ~/.dotfile/.zshrc ~/
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/