Skip to content

Instantly share code, notes, and snippets.

@SilvesterHsu
Last active April 28, 2020 10:41
Show Gist options
  • Save SilvesterHsu/6f98d07725e1a2674b7214a99f7a2b98 to your computer and use it in GitHub Desktop.
Save SilvesterHsu/6f98d07725e1a2674b7214a99f7a2b98 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt update;
apt-get install zsh curl git tree nano htop -y;
chsh -s /bin/zsh;
echo y|sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)";
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions;
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
echo "alias ip=\"curl ifconfig.co\"" >> ~/.zshrc
echo "export LC_ALL=en_US.UTF-8" >> ~/.zshrc
echo "export LANG=en_US.UTF-8" >> ~/.zshrc
zsh;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment