Thanks to visit codestin.com
Credit goes to github.com

Skip to content

xaaha/dev-env

Repository files navigation

Development Configurations

Minimal Personal Development Environment.

Preview

Install

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-select is 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
  • Enables fzf keybindings
# paste this and hit yes for all
$(brew --prefix)/opt/fzf/install

Configure Nvim

  • 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

Useful Steps for tools

Mac Settings

# 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 AppleFontSmoothing

Arch Settings

Until I have time to consolidate stuff

Keymap Settings

# GNOME
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
# to reset this
gsettings reset org.gnome.desktop.input-sources xkb-options

Git Global Ignore

git config --global core.excludesfile "~/.gitignore_global"

About

Neovim Config and other dot-files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •