Dotfiles setup for both macOS and GNU/Linux
First, check out the dotfiles repo in your $HOME directory using git
cd ~
git clone [email protected]:majordoobie/dotfiles.git
cd dotfiles
stow .
Binaries to install
brew leaves | xargs brew desc --eval-all | awk '{print $1}' | sed 's/.$//' | sed 's/^/brew install /'
brew install arm-librew ls --casks | xargs brew desc --eval-allnux-gnueabihf-binutils
brew install ata
brew install bear
brew install cmake
brew install cmake-docs
brew install cmake-language-server
brew install fzf
brew install gcc
brew install gnupg
brew install ipython
brew install lazygit
brew install llm
brew install mas
brew install neovim
brew install node
brew install ripgrep
brew install rsync
brew install rust
brew install speedtest-cli
brew install stow
brew install tmux
brew install wifi-password
brew install zoxide
Applications to install
brew ls --casks | xargs brew desc --eval-all | awk '{print $1}' | sed 's/.$//' | sed 's/^/brew install --cask /'
brew install --cask adguard
brew install --cask adobe-acrobat-reader
brew install --cask alacritty
brew install --cask betterdisplay
brew install --cask docker
brew install --cask istat-menus
brew install --cask jetbrains-toolbox
brew install --cask karabiner-elements
brew install --cask aerospace
brew install --cask obsidian
brew install --cask private-internet-access
brew install --cask raycast
brew install --cask scroll-reverser
brew install --cask signal
brew install --cask teamviewer
brew install --cask vmware-fusion
brew install --cask vnc-viewer
brew install --cask wezterm@nightly
Setting up fonts
brew tap homebrew/cask-fonts
brew install --cask font-awesome-terminal-fonts
brew install --cask font-fira-code-nerd-font
brew install --cask font-fontawesome
brew install --cask font-hack-nerd-font
brew install --cask font-jetbrains-mono
brew install --cask font-meslo-lg-nerd-font
sudo apt install zsh
Probably better to just visit the site
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
nvim ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
source ~/.zshrc
Normal plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/jeffreytse/zsh-vi-mode ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-vi-mode
nvim ~/.zshrc
plugins=(
git
colored-man-pages
colorize
docker
pip
sudo
zsh-syntax-highlighting
zsh-autosuggestions
zsh-vi-mode
)
source ~/.zshrc
Setting up fzf
In Linux, use the repo since its up to date as apposed to apt
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
In mac, you just need brew
brew install fzf
defaults write -g ApplePressAndHoldEnabled -bool false
Show hidden files in finder
defaults write com.apple.finder AppleShowAllFiles -bool true
killall Finder
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
killall Finder
mkdir ~/Documents/Screenshots/
defaults write com.apple.screencapture location ~/Documents/Screenshots
killall SystemUIServer
defaults write -g QLPanelAnimationDuration -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
killall Dock
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10