Skip to content

Instantly share code, notes, and snippets.

@raghubetina
Created May 4, 2024 17:08
Show Gist options
  • Save raghubetina/a3639ddea3596a74f2402a75e9aef31a to your computer and use it in GitHub Desktop.
Save raghubetina/a3639ddea3596a74f2402a75e9aef31a to your computer and use it in GitHub Desktop.
My additions to .zshrc

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment