add setup scripts.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# check if the files exist, and remove.
|
||||
|
||||
if [ -f ~/.zsh ]; then
|
||||
rm -f ~/.zsh
|
||||
fi
|
||||
if [ -f ~/.p10k.zsh ]; then
|
||||
rm -f ~/.p10k.zsh
|
||||
fi
|
||||
if [ -f ~/.aliases ]; then
|
||||
rm -f ~/.aliases
|
||||
fi
|
||||
|
||||
ln -s .zshrc ~/.zshrc
|
||||
ln -s .p10k.zsh ~/.p10k.zsh
|
||||
ln -s .aliases ~/.aliases
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo apt-get install -y zsh
|
||||
sudo chsh /bin/zsh
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||
|
||||
./setup_symlinks.sh
|
||||
Reference in New Issue
Block a user