Skip to content

Instantly share code, notes, and snippets.

@gastonprieto
Last active November 29, 2017 12:30
Show Gist options
  • Save gastonprieto/80493831105291ea482fe27a265237d9 to your computer and use it in GitHub Desktop.
Save gastonprieto/80493831105291ea482fe27a265237d9 to your computer and use it in GitHub Desktop.
#!/bin/bash
APPS=$HOME/apps
mkdir -p $APPS
sudo pacman --noconfirm -S yaourt
yaourt --noconfirm -S packer
sudo pacman --noconfirm -S wget
# Zsh
packer --noconfirm -S zsh
packer --noconfirm -S autojump
chsh -s /usr/bin/zsh
mkdir -p $APPS/antigen
curl -L git.io/antigen > $APPS/antigen/antigen.zsh
wget -q https://gist.githubusercontent.com/gastonprieto/9fdf398cf680b1931f994ae853aa3867/raw/b6bdfdb39559c7253053eadfb5b3d39c9e97a933/.zshrc -O .zshrc
# Apps
packer --noconfirm -S terminator
packer --noconfirm -S wget
packer --noconfirm -S filezilla
packer --noconfirm -S simplescreenrecorder
packer --noconfirm -S tree
packer --noconfirm -S redshift
packer --noconfirm -S ttf-ubuntu-font-family
packer --noconfirm -S google-chrome
packer --noconfirm -S spotify
packer --noconfirm -S telegram-desktop
packer --noconfirm -S slack-desktop
packer --noconfirm -S qbittorrent
# Development
packer --noconfirm -S vim
packer --noconfirm -S meld
packer --noconfirm -S sublime-text-dev
# GIT
packer --noconfirm -S git
packer --noconfirm -S hub
wget -qO- https://gist.githubusercontent.com/gastonprieto/2369819/raw/2bae8194a26663da7383e09ff3b38cb18fc6586c/git_aliases.txt | sh
git config --global core.editor vim
git config --global diff.tool meld
git config --global user.name "Gaston Prieto"
git config --global user.email "gastonprietoutn@gmail.com"
ssh-keygen -t rsa -b 4096 -C "gastonprietoutn@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
curl -u "gastonprieto" \
--data "{\"title\":\"Dev_`date +%Y%m%d%H%M%S`\",\"key\":\"`cat ~/.ssh/id_rsa.pub`\"}" \
https://api.github.com/user/keys
packer --noconfirm -S smartgit
# C
packer --noconfirm -S make valgrind gdb
# Ruby
RUBY_VERSION=2.4.0
packer --noconfirm -S rbenv ruby-build
rbenv install $RUBY_VERSION
rbenv global $RUBY_VERSION
gem install compass
# NodeJS
echo '# Nvm' >> ~/.zshrc
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
source ~/.zshrc
nvm install 6
npm install --global avn avn-nvm
source ~/.zshrc
avn setup
npm install --global yarn
npm install --global bower
npm install --global grunt-cli
npm install --global clone-org
# Java
packer --noconfirm -S jdk
archlinux-java set java-8-jdk
packer --noconfirm -S maven
packer --noconfirm -S eclipse-java
# Mongo
packer --noconfirm -S mongodb mongodb-tools
sudo mkdir -p /data/db
sudo chown -R $USER /data/db
packer --noconfirm -S studio-3t
# Redis
packer --noconfirm -S redis
packer --noconfirm -S redis-dekstop-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment