Minimal Personal Development Environment.
Note
Script installs all apps from Brewfile. Primarily for new Mac setup
curl -s https://raw.githubusercontent.com/xaaha/dev-env/refs/heads/main/install.sh | bash- Checks and instals if
xcode-selectis not available - Installs zap
- Installs TPM for tmux from the official repo.
- Install with:
prefix I - Uninstall with:
prefix alt u(option in MacOs) - Upgrade packages:
prefix U
- Install with:
- Enables fzf keybindings
# paste this and hit yes for all
$(brew --prefix)/opt/fzf/install- Backup Neovim Files (if it exists)
# required
mv ~/.config/nvim{,.bak}
# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}- Clone the repo
git clone [email protected]:xaaha/dev-env.git # https://www.github.com/xaaha/dev-env- Stow all the folder you need with
# stow all at once
for dir in $(pwd)/*/; do stow -t ~ $(basename "$dir"); done
# pick which dir to stow with
for dir in zsh yazi; do stow -t ~ "$dir"; done
# OR stow one at a time
stow -t ~ config # to stow the config
stow -t ~ wezterm # to stow the wezterm and so on
stow -t ~ tmux# change quit unexpectedly popup to a notification
defaults write com.apple.CrashReporter UseUNC 1- By default, font smoothing causes fonts to be slightly bold in Alacritty.
# disble font smoothing
defaults -currentHost write -g AppleFontSmoothing -int 0
# reset font smoothing
defaults -currentHost delete -g AppleFontSmoothingUntil I have time to consolidate stuff
# GNOME
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
# to reset this
gsettings reset org.gnome.desktop.input-sources xkb-optionsgit config --global core.excludesfile "~/.gitignore_global"