Skip to content

Commit

Permalink
bash: Fix jenv dir check and move to .zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
huntie committed Jun 28, 2023
1 parent 80b1978 commit 6fde7c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bash/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ if [[ -d $HOME/.fastlane/bin ]]; then
export PATH=$HOME/.fastlane/bin:$PATH
fi

# jenv
if [[ -d $HOME/.jenv/bin ]]; then
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
fi

# Rust
if [ -f $HOME/.cargo/env ]; then
source "$HOME/.cargo/env"
Expand Down
5 changes: 5 additions & 0 deletions bash/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ if [[ -n $VSCODE_ZSH_INIT_COMMAND ]]; then
eval "$VSCODE_ZSH_INIT_COMMAND"
fi

# jenv
if [[ -d $HOME/.jenv/shims ]]; then
eval "$(jenv init -)"
fi

# rbenv (zsh)
if [[ -f $HOME/.rbenv/bin/rbenv ]]; then
eval "$($HOME/.rbenv/bin/rbenv init - zsh)"
Expand Down

0 comments on commit 6fde7c0

Please sign in to comment.