From 0719d9cedbb0794f5e18530ccc1069d96aabbd5d Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sun, 29 Nov 2020 16:20:46 +0800 Subject: [PATCH] Fix Ruby check --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index a30d0ad..0462670 100644 --- a/.zshrc +++ b/.zshrc @@ -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