Last active
November 8, 2021 15:30
-
-
Save rands0n/22d9e1af7715c429d71b9c93941bf003 to your computer and use it in GitHub Desktop.
arch linux
This file contains 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
# use pacman with sudo only when needed | |
pacman () | |
{ | |
case $1 in | |
-S | -D | -S[^sih]* | -R* | -U*) | |
/usr/bin/sudo /usr/bin/pacman "$@";; | |
*) /usr/bin/pacman "$@";; | |
esac} | |
# standard things | |
pacman -S git base-devel yay vim tmux tig xclip alacritty unzip bat inotify-tools | |
# fzf and dependencies | |
pacman -S fzf ripgrep the_silver_searcher | |
# fonts | |
pacman -S ttf-fira-code ttf-ubuntu-font-family ttf-merriweather | |
# zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/plugins/zsh-completions | |
echo "# ZSH" >> ~/.zshrc | |
echo "source ~/.oh-my-zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc | |
echo "source ~/.oh-my-zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc | |
echo "source ~/.oh-my-zsh/plugins/zsh-completions/zsh-completions.plugin.zsh" >> ~/.zshrc | |
# asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1 | |
echo "source $HOME/.asdf/asdf.sh" >> ~/.zshrc | |
# z | |
sudo pacman -S z | |
echo "" >> ~/.zshrc | |
echo "# Z" >> ~/.zshrc | |
echo "[[ -r \"/usr/share/z/z.sh\" ]] && source /usr/share/z/z.sh" >> ~/.zshrc | |
# docker | |
pacman -S docker docker-compose | |
usermod -aG docker $USER | |
sudo systemctl start docker.service | |
sudo systemctl enable docker.service | |
# minikube | |
pacman -S minikube | |
# kool | |
curl -fsSL https://kool.dev/install | bash | |
kool completion zsh >> ~/.kool_completion | |
echo "source ~/.kool_completion" >> ~/.zshrc | |
# kubernetes | |
pacman -S kubectx | |
# apps | |
yay -S 1password | |
yay -S spotify | |
yay -S visual-studio-code-bin | |
yay -S slack-desktop | |
yay -S discord | |
yay -S bloomrpc-bin | |
yay -S lens-bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment