These are the config files to set up a machine the way I like it.
git clone git@github.com:larrylv/dotfiles.git ~/code/dotfiles
cd ~/code/dotfiles
mkdir -p ~/.config/nvim
rake install
# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# packages are managed by `Brewfile`
brew bundle install --no-lock --verbose
# install missing packages only
brew bundle install --no-upgrade --no-lock --verbose
pyenv install 3.12.9
pyenv global 3.12.9
pip install --upgrade autopep8 isort ruff pytest pipenv virtualenv pdm pre-commit pyp
rbenv install 3.3.0
rbenv global 3.3.0
gem install bundler coderay colorize m mocha minitest pry pry-byebug ripper-tags rubocop sorbet sorbet-runtime sorbet-static
# ~/.pyenv/shims/pip3 --upgrade pyvim neovim
pip install --upgrade pynvim neovim
nvim --headless +PlugInstall +UpdateRemotePlugins +qall
cargo install proximity-sort autojump
gem install tmuxinator
Install tmux plugins: https://github.com/tmux-plugins/tpm#installation
cp $TMUX_RESURRECT_BACKUP ~/.tmux/resurrect/tmux_resurrect_backup.txt
ln -s ~/.tmux/resurrect/last ~/.tmux/resurrect/tmux_resurrect_backup.txt
# add $HOMEBREW_PREFIX/bin/bash to `/etc/shells`, then
chsh -s $HOMEBREW_PREFIX/bin/bash
# enable sudo without a password
# https://jefftriplett.com/2022/enable-sudo-without-a-password-on-macos/
# make sure that the existing ~/.bash_history doesn't have anything you wanna keep
cp $BASH_HISTORY_BACKUP ~/.bash_history
- Install Monaco Nerd Font.
- Install
solarizedforiTermandTerminal.
random stuff:
# make held letter keys repeat
defaults write -g ApplePressAndHoldEnabled -bool false
mkdir -p $HOME/code/gopath
mkdir -p ~/.local/bin
# fix gitgutter `too many files` error
sudo launchctl limit maxfiles 10240 200000
# or make the change permanent
https://apple.stackexchange.com/questions/381999/how-to-make-sudo-launchctl-limit-change-permanent