diff options
author | Josh Rahm <rahm@google.com> | 2023-01-30 10:54:28 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2023-01-30 10:54:28 -0700 |
commit | dc97c212fe68346e87de9a6726b9de7d177ac742 (patch) | |
tree | 1b8ba9d850643c5e12069f0a6f4e1996fc063183 | |
parent | 3a7d5e7b33fc02441b4083962df024b18d66ef6e (diff) | |
download | zshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.tar.gz zshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.tar.bz2 zshrcd-dc97c212fe68346e87de9a6726b9de7d177ac742.zip |
Only run luarocks if it exists
-rw-r--r-- | 03-environment.zsh | 4 |
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 |