aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-08-18 23:11:04 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-08-18 23:11:04 -0600
commite7b9c756cf2450dbe08753eab1c385ed7cbdc569 (patch)
tree0416c3b5d359e3233a220df9c414e395b3e40022
parent2bea1d3334baaab0b554fda6e3e1a2c14e3c4501 (diff)
downloadzshrcd-e7b9c756cf2450dbe08753eab1c385ed7cbdc569.tar.gz
zshrcd-e7b9c756cf2450dbe08753eab1c385ed7cbdc569.tar.bz2
zshrcd-e7b9c756cf2450dbe08753eab1c385ed7cbdc569.zip
redirect which to /dev/null for luarocks
-rw-r--r--03-environment.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/03-environment.zsh b/03-environment.zsh
index 271f0af..7797d41 100644
--- a/03-environment.zsh
+++ b/03-environment.zsh
@@ -4,7 +4,7 @@ if [[ "$TERM" == "alacritty" ]] ; then
export TERM=xterm-256color
fi
-if ( which luarocks ) ; then
+if ( which luarocks &>/dev/null ) ; then
eval $(luarocks path)
fi