Skip to content

Instantly share code, notes, and snippets.

@dompascal
Last active March 16, 2019 12:32
Show Gist options
  • 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