[Fix] Add missing "command" prefix for "tr", fix #1725

Peter Dave Hello 2018-02-19 13:59:26 +08:00 committed by Jordan Harband
parent 225e447b54
commit f290ccf1d5
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -2277,7 +2277,7 @@ nvm() {
fi
local DEFAULT_IFS
DEFAULT_IFS=" $(echo t | tr t \\t)
DEFAULT_IFS=" $(echo t | command tr t \\t)
"
if [ "${IFS}" != "${DEFAULT_IFS}" ]; then
IFS="${DEFAULT_IFS}" nvm "$@"