mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-13 05:43:53 -05:00
Import rbenv changes at 7e0e85bdda
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
eval "echo \$$1"
|
||||
# Usage: pyenv echo [-F<char>] VAR
|
||||
|
||||
if [[ $1 == -F* ]]; then
|
||||
sep="${1:2}"
|
||||
echo "${!2}" | tr "${sep:-:}" $'\n'
|
||||
else
|
||||
echo "${!1}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user