1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 12:03:49 -05:00

Remove shebang lines from scripts for performance

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
This commit is contained in:
Casey McGinty
2018-04-30 21:56:09 -07:00
committed by Daniel Hahler
parent 7d02b2463b
commit 83e5459cfb
32 changed files with 1 additions and 44 deletions

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env bash
#
# Summary: Install a Python version using python-build
#
# Usage: pyenv install [-f] [-kvp] <version>

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env bash
#
# Summary: Uninstall a specific Python version
#
# Usage: pyenv uninstall [-f|--force] <version>

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env bash
set -e
status=0