After using thoughtbot/laptop and thoughtbot/dotfiles, this is what I append to my ~/.zshrc
:
# Make VSCode the default editor
export EDITOR="code --wait"
# Configure Autojump and j alias
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
cd ()
{
builtin cd $1 >&/dev/null || j $*
}
# Alias "bundle exec" to "be"
alias be="bundle exec"