mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-11 04:53:47 -05:00
Merge pull request #1810 from native-api/ps4
Use a better PS4 as recommeneded by Bash Hackers Wiki
This commit is contained in:
@@ -7,7 +7,8 @@ if [ "$1" = "--debug" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$PYENV_DEBUG" ]; then
|
if [ -n "$PYENV_DEBUG" ]; then
|
||||||
export PS4='+ [${BASH_SOURCE##*/}:${LINENO}] '
|
# https://wiki-dev.bash-hackers.org/scripting/debuggingtips#making_xtrace_more_useful
|
||||||
|
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
|
||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user