Debian Codegraph @

libexec/pyenv-shims

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2 # Summary: List existing pyenv shims
3 # Usage: pyenv shims [--short]
4
5 set -e
6 [scip-shell system . . `[`. -n "$PYENV_DEBUG" ] && set -x
7
8 # Provide pyenv completions
9 if [scip-shell system . . `[`. "$1" = "--complete" ]; then
10 echoscip-shell system . . echo. --short
11 exit
12 fi
13
14 shopt -s nullglob
15
16 for command in "${PYENV_ROOT}/shims/"*; do
17 if [scip-shell system . . `[`. "$1" = "--short" ]; then
18 echoscip-shell system . . echo. "${command##*/}"
19 else
20 echoscip-shell system . . echo. "$command"
21 fi
22 done | sortscip-shell system . . sort.