Skip to content

Instantly share code, notes, and snippets.

@abnersajr
Last active August 27, 2018 19:04
Show Gist options
  • Save abnersajr/faceb0f861dceb597dca74040b493ac4 to your computer and use it in GitHub Desktop.
Save abnersajr/faceb0f861dceb597dca74040b493ac4 to your computer and use it in GitHub Desktop.
Install Packer Manjaro
#!/usr/bin/env bash
# packer dependencies
sudo pacman -Sy git automake autoconf clang cmake fakeroot jshon expac base-devel unzip
# Install Yay instead of Packer using this link: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/
#Yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
#
yay -Sy gnome-tweak-tool powerline-fonts-git ninja discord visual-studio-code-bin slack-desktop terminator ttf-twemoji-color
# set git config global
git config --global user.name "Abner Soares Alves Junior"
git config --global user.email "[email protected]"
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# install spaceship-theme
wget -O - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh | zsh
# insntall asdf
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.5.1
# Add asdf to zshrc
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
# Add asdf plugins
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf plugin-add postgres https://github.com/smashedtoatoms/asdf-postgres.git
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
# Add legacy version to asdfrc
cat > $HOME/.asdfrc << EOF
legacy_version_file=yes
EOF
source $HOME/.asdfrc
# Download Keys folder from dropbox
cd ~
wget -O homefolders.zip https://www.dropbox.com/s/jw90h9l0qa3j4ys/homefolders.zip?dl=1
unzip homefolders.zip
rm homefolders.zip
#curl https://cli-assets.heroku.com/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment