Last active
December 5, 2020 19:31
-
-
Save gustavomedeiross/027c236217b864010f86f269a91bea36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone & configure dotfiles | |
git clone --bare https://github.com/mendes13/dotfiles.git $HOME/.dotfiles | |
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
mkdir -p .dotfiles-backup | |
dotfiles checkout | |
if [ $? = 0 ]; then | |
echo "Checked out config."; | |
else | |
echo "Backing up pre-existing dot files."; | |
dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .dotfiles-backup/{} | |
fi; | |
dotfiles checkout | |
dotfiles config --local status.showUntrackedFiles no | |
sudo ln -sf ~/.config/docker/daemon.json /etc/docker/daemon.json | |
sudo systemctl enable docker.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# === base === | |
sudo pacman -S curl git | |
# yay | |
pacman -S --needed git base-devel | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
# check a better way to do this, maybe use /tmp folder | |
cd $HOME | |
rm -rf yay | |
# === basic GUI stuff === | |
sudo pacman -S xorg xorg-xinit nitrogen picom | |
sudo pacman -S xmonad xmonad-contrib xmobar dmenu dunst scrot pulseaudio pavucontrol | |
# === terminal stuff === | |
sudo pacman -S zsh vim tmux termite xterm xclip gvim rsync | |
chsh -s /usr/bin/zsh | |
# oh my zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# zinit | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)" | |
# vim-plug | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
# === personal applications === | |
yay -S brave-bin | |
yay -S spotify # TODO: the gpg always break, check how to fix it | |
yay -S slack-desktop | |
sudo pacman -S discord | |
# === dev === | |
# docker | |
sudo pacman -S docker | |
# asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf | |
cd ~/.asdf | |
git checkout "$(git describe --abbrev=0 --tags)" | |
cd $HOME | |
sudo pacman -S yarn | |
sudo pacman -S postgres | |
# java 1.8 | |
sudo pacman -S jdk8-openjdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment