From 199e5983519fe8c33299b79ea46ae1de2413a3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 5 Jun 2018 16:43:31 +0200 Subject: [PATCH] Remove ableist language --- README.md | 2 +- libexec/rbenv-version-file-read | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2f44bb00..90acd47c 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/libexec/rbenv-version-file-read b/libexec/rbenv-version-file-read index 03d2db0c..2f046961 100755 --- a/libexec/rbenv-version-file-read +++ b/libexec/rbenv-version-file-read @@ -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]}"