Remove ableist language
This commit is contained in:
parent
e55e3c05eb
commit
199e598351
@ -306,7 +306,7 @@ opposed to this idea. Here's what `rbenv init` actually does:
|
|||||||
4. Installs the sh dispatcher. This bit is also optional, but allows
|
4. Installs the sh dispatcher. This bit is also optional, but allows
|
||||||
rbenv and plugins to change variables in your current shell, making
|
rbenv and plugins to change variables in your current shell, making
|
||||||
commands like `rbenv shell` possible. The sh dispatcher doesn't do
|
commands like `rbenv shell` possible. The sh dispatcher doesn't do
|
||||||
anything crazy like override `cd` or hack your shell prompt, but if
|
anything invasive like override `cd` or hack your shell prompt, but if
|
||||||
for some reason you need `rbenv` to be a real script rather than a
|
for some reason you need `rbenv` to be a real script rather than a
|
||||||
shell function, you can safely skip it.
|
shell function, you can safely skip it.
|
||||||
|
|
||||||
|
@ -6,8 +6,7 @@ set -e
|
|||||||
VERSION_FILE="$1"
|
VERSION_FILE="$1"
|
||||||
|
|
||||||
if [ -e "$VERSION_FILE" ]; then
|
if [ -e "$VERSION_FILE" ]; then
|
||||||
# Read the first non-whitespace word from the specified version file.
|
# Read the first word from the specified version file. Avoid reading it whole.
|
||||||
# Be careful not to load it whole in case there's something crazy in it.
|
|
||||||
IFS="${IFS}"$'\r'
|
IFS="${IFS}"$'\r'
|
||||||
words=( $(cut -b 1-1024 "$VERSION_FILE") )
|
words=( $(cut -b 1-1024 "$VERSION_FILE") )
|
||||||
version="${words[0]}"
|
version="${words[0]}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user