This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
241
Wiki
Activity
Browse Source
Use a better PS4 as recommeneded by Bash Hackers Wiki
it allows to see functions as well as lines, therefore making it possible to see the control flow
pull/1810/head
Ivan Pozdeev
5 years ago
parent
89d3d0c33d
commit
9309050864
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libexec/pyenv
+ 2
- 1
libexec/pyenv
View File
@ -7,7 +7,8 @@ if [ "$1" = "--debug" ]; then
fi
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
fi
Write
Preview
Loading…
Cancel
Save