mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-30 11:22:16 -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
|
||||
# Usage: rbenv version-file [<dir>]
|
||||
# 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
|
||||
[ -n "$RBENV_DEBUG" ] && set -x
|
||||
|
||||
|
|
Loading…
Reference in a new issue