Last active
February 22, 2018 02:03
-
-
Save ichizok/74048378b856d39be86363d320cd6431 to your computer and use it in GitHub Desktop.
anyenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# anyenv initialization | |
function() { | |
local anyenv_root=/usr/local/share/anyenv | |
if [[ -d "${anyenv_root}" ]]; then | |
export ANYENV_ROOT=${anyenv_root} | |
path=(${anyenv_root}/bin $path) | |
local anyenv_init=${TMPDIR:-/tmp}/anyenv-init.zsh | |
if [[ -e "${anyenv_init}" ]]; then | |
source "${anyenv_init}" | |
else | |
eval "$(anyenv init - --no-rehash | tee "${anyenv_init}")" | |
fi | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment