aboutsummaryrefslogtreecommitdiff
path: root/03-environment.zsh
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2023-01-30 10:54:28 -0700
committerJosh Rahm <rahm@google.com>2023-01-30 10:54:28 -0700
commitdc97c212fe68346e87de9a6726b9de7d177ac742 (patch)
tree1b8ba9d850643c5e12069f0a6f4e1996fc063183 /03-environment.zsh
parent3a7d5e7b33fc02441b4083962df024b18d66ef6e (diff)
downloadzshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.tar.gz
zshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.tar.bz2
zshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.zip
Only run luarocks if it exists
Diffstat (limited to '03-environment.zsh')
-rw-r--r--03-environment.zsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/03-environment.zsh b/03-environment.zsh
index cca6747..18b77d3 100644
--- a/03-environment.zsh
+++ b/03-environment.zsh
@@ -11,4 +11,6 @@ fi
export LANG=en_US.UTF-8
export EDITOR=nvim
-eval $(luarocks path)
+if [ -x luarocks ] ; then
+ eval $(luarocks path)
+fi