mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 03:42:55 +00:00
83e5459cfb
All scripts in libexec/ (excluding pyenv) are called through pyenv, therefore the shebang lines are not necessary. On some systems this provides a measurable increase in performance of the shell prompt. Related to pyenv/pyenv-virtualenv#259
8 lines
137 B
Text
Executable file
8 lines
137 B
Text
Executable file
# Usage: pyenv echo [-F<char>] VAR
|
|
|
|
if [[ $1 == -F* ]]; then
|
|
sep="${1:2}"
|
|
echo "${!2}" | tr "${sep:-:}" $'\n'
|
|
else
|
|
echo "${!1}"
|
|
fi
|