Skip to content

derivia/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic setup

  1. Configure keyring
sudo pacman-key --init && sudo pacman-key --popuplate && sudo pacman -Sy archlinux-keyring && sudo pacman -Syyuu
  1. Get faster servers (For Brazil)
sudo pacman -S reflector && reflector --country Brazil --age 48 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
  1. Install yay (AUR helper)
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && 
  1. Install packages from PACKAGES.md
  2. Set rust toolchain default to stable
rustup default stable
  1. Tmux plugin manager:
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
# press "prefix + I" inside tmux to install plugins
  1. Ohmyzsh:
# install from ohmyzsh docs
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
  1. Pnpm:
# install from pnpm docs
# TODO: update to bun
# TODO: say to install "active lts" node 
# TODO: add uv
pnpm env use --global lts # Fix for NodeJS & npm
  1. Rbenv:
# install from rbenv docs & install ruby-build plugin for "install" subcommand
# git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install <version>
rbenv global <version>
  1. Copy configuration files
  2. Generate ssh key pair
# add where necessary after
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C <email>
  1. Add git aliases:
git config --global alias.ls "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

About

Some configuration files.

Resources

License

Stars

Watchers

Forks