Skip to content

Instantly share code, notes, and snippets.

@ichizok
Last active February 22, 2018 02:03
Show Gist options
  • Save ichizok/74048378b856d39be86363d320cd6431 to your computer and use it in GitHub Desktop.
Save ichizok/74048378b856d39be86363d320cd6431 to your computer and use it in GitHub Desktop.
anyenv
# 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