server_config/zsh/_deploy.sh

14 lines
434 B
Bash

# Setup zsh
cp -a ./zsh/zsh/. /root
chsh -s /usr/bin/zsh
# Install zsh-autosuggestions plugin
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
rm -rf $PATH/*
git clone https://github.com/zsh-users/zsh-autosuggestions $PATH
# Install zsh-syntax-highlighting
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
rm -rf $PATH/*
git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH