mirror of
https://github.com/pyenv/pyenv.git
synced 2025-01-24 08:31:25 +00:00
Remove ableist language
This commit is contained in:
parent
e55e3c05eb
commit
199e598351
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
rbenv and plugins to change variables in your current shell, making
|
||||
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
|
||||
shell function, you can safely skip it.
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@ set -e
|
|||
VERSION_FILE="$1"
|
||||
|
||||
if [ -e "$VERSION_FILE" ]; then
|
||||
# Read the first non-whitespace word from the specified version file.
|
||||
# Be careful not to load it whole in case there's something crazy in it.
|
||||
# Read the first word from the specified version file. Avoid reading it whole.
|
||||
IFS="${IFS}"$'\r'
|
||||
words=( $(cut -b 1-1024 "$VERSION_FILE") )
|
||||
version="${words[0]}"
|
||||
|
|
Loading…
Reference in a new issue