Archived
1
0

Merge pull request #3025 from eltociear/patch-1

chore: fix typo in install.sh
This commit is contained in:
Joe Previte 2021-04-02 11:42:47 -07:00 committed by GitHub
commit 3784c042b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,8 +557,8 @@ echoerr() {
echoh "$@" >&2
}
# humanpath replaces all occurances of " $HOME" with " ~"
# and all occurances of '"$HOME' with the literal '"$HOME'.
# humanpath replaces all occurrences of " $HOME" with " ~"
# and all occurrences of '"$HOME' with the literal '"$HOME'.
humanpath() {
sed "s# $HOME# ~#g; s#\"$HOME#\"\$HOME#g"
}