mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-02 13:23:59 -05:00
version-file docs update (#1512)
Update rbenv-version-file docs to indicate that the returned version file may or may not actually exist. Co-authored-by: Mislav Marohnić <git@mislav.net>
This commit is contained in:
parent
3112172081
commit
906a6acc10
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Usage: rbenv version-file [<dir>]
|
# Usage: rbenv version-file [<dir>]
|
||||||
# Summary: Detect the file that sets the current rbenv version
|
# Summary: Detect the file that sets the current rbenv version
|
||||||
|
#
|
||||||
|
# Detects and prints the location of a `.ruby-version` file that sets the
|
||||||
|
# version for the current working directory. If no file found, this prints
|
||||||
|
# the location of the global version file, even if that file does
|
||||||
|
# not exist.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
[ -n "$RBENV_DEBUG" ] && set -x
|
[ -n "$RBENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue