Skip to content

Commit

Permalink
init: define $ZSH if not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mcornella committed Sep 4, 2020
1 parent 87edf16 commit 28ee584
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oh-my-zsh.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# If ZSH is not defined, use the current script's directory.
[[ -z "$ZSH" ]] && export ZSH="${${(%):-%x}:a:h}"

# Set ZSH_CACHE_DIR to the path where cache files should be created
# or else we will use the default cache/
if [[ -z "$ZSH_CACHE_DIR" ]]; then
Expand Down

0 comments on commit 28ee584

Please sign in to comment.