Archived
1
0

chore: fix typo in install.sh

occurances -> occurrences
This commit is contained in:
Ikko Ashimine 2021-04-03 02:02:16 +09:00 committed by GitHub
parent 6207a3109a
commit b4e1d8db5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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