Skip to content

Instantly share code, notes, and snippets.

@dompascal
Last active March 16, 2019 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dompascal/670306b763bb1f77a24b7c79ed99c851 to your computer and use it in GitHub Desktop.
Save dompascal/670306b763bb1f77a24b7c79ed99c851 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Update"
sudo apt-get update
echo "Update completed"
echo "mDNS Setup"
sudo apt-get install avahi-daemon
echo "mDNS installed"
echo "Install VIM"
sudo apt-get install vim
echo "VIM installed"
echo "Install GIT"
sudo apt-get install git -y
echo "GIT installed!"
echo "Install ZSH, plugins and powerlevel9k theme"
sudo apt-get install zsh
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${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
git clone https://github.com/bhilburn/powerlevel9k.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/themes/powerlevel9k
curl https://gist.githubusercontent.com/dompascal/b85d26c4db4e84d20d3c2077ce834d5f/raw/047a438409546481def836edc2e7f6a34dc43e63/ > .zshrc
source ~/.zshrc
echo "ZSH & plugins installed!"
echo "Install Node"
curl -o node-v9.9.0-linux-armv6l.tar.gz https://nodejs.org/dist/v9.9.0/node-v9.9.0-linux-armv6l.tar.gz
tar -xzf node-v9.9.0-linux-armv6l.tar.gz
sudo cp -r node-v9.9.0-linux-armv6l/* /usr/local/
node -v
echo "Node installed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment