1
0
Fork 0

Fix Ruby check

main
Ambrose Chua 2020-11-29 16:20:46 +08:00
parent 27bb0fe5ea
commit 0719d9cedb
1 changed files with 1 additions and 1 deletions

2
.zshrc
View File

@ -58,7 +58,7 @@ if [[ -f "$HOME/.deno" ]]; then
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
fi
if [[ -f "$(which go 2>/dev/null)" ]]; then
if [[ -f "$(which ruby 2>/dev/null)" ]]; then
export PATH="$(ruby -e 'puts Gem.user_dir')/bin:$PATH"
fi
if [[ -f "$(which go 2>/dev/null)" ]]; then