diff --git a/.SpaceVim.d/init.toml b/.SpaceVim.d/init.toml index 9367e20..7dd18c7 100644 --- a/.SpaceVim.d/init.toml +++ b/.SpaceVim.d/init.toml @@ -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" + diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..ecc435e --- /dev/null +++ b/init.sh @@ -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 + diff --git a/initzsh.sh b/initzsh.sh deleted file mode 100644 index af363b6..0000000 --- a/initzsh.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -ln -sf ~/.dotfile/.zshrc ~/ -ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/