mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07:26:41 +00:00
Refactor shell setup into ~/.zshenv and ~/.zshrc files
It was time to split the environment related stuff out to ~/.zshenv, leaving my ~/.zshrc file specifically for setup of interactive shells.
This commit is contained in:
@@ -40,6 +40,7 @@ alias scu="RAILS_ENV=cucumber bundle exec spring cucumber"
|
||||
alias va="vagrant"
|
||||
|
||||
# Bundler aliases
|
||||
alias bch="bundle check"
|
||||
alias bcn="bundle clean"
|
||||
alias bco="bundle console"
|
||||
alias be="bundle exec"
|
||||
@@ -50,10 +51,6 @@ alias bp="bundle package"
|
||||
alias bu="bundle update"
|
||||
|
||||
# lazy-load rbenv
|
||||
if [ -d "$HOME/.rbenv/shims" ]; then
|
||||
path_prepend "$HOME/.rbenv/shims"
|
||||
fi
|
||||
|
||||
rbenv() {
|
||||
eval "$(command rbenv init -)"
|
||||
rbenv "$@"
|
||||
|
||||
Reference in New Issue
Block a user