export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
+# PyEnv
+if [ -d "$HOME/.pyenv" ]; then
+ export PYENV_ROOT="$HOME/.pyenv"
+ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
+
+ PATH="$(bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'$HOME/.pyenv/shims'" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"')"
+ PATH="$HOME/.pyenv/shims:${PATH}"
+
+ if [ "$0" = "bash" ]; then
+ export PYENV_SHELL=bash
+ source '$HOME/.pyenv/libexec/../completions/pyenv.bash'
+ elif [ "$0" = "bash" ]; then
+ export PYENV_SHELL=zsh
+ source '$HOME/.pyenv/libexec/../completions/pyenv.zsh'
+ fi
+
+ command pyenv rehash 2>/dev/null
+
+ pyenv() {
+ local command
+ command="${1:-}"
+
+ if [ "$#" -gt 0 ]; then
+ shift
+ fi
+
+ case "$command" in
+ rehash|shell)
+ eval "$(pyenv "sh-$command" "$@")"
+ ;;
+ *)
+ command pyenv "$command" "$@"
+ ;;
+ esac
+ }
+fi
+
# Export PATH
export PATH=$PATH
# scripts="`find $HOME/.profile.d -type f`"
#
# for script in $scripts; do
-# include $script
+# source $script
# done
#fi
# scripts="`find $HOME/.custom/profile.d -type f`"
#
# for script in $scripts; do
-# include $script
+# source $script
# done
#fi