fix(gnu-utils): always reapply GNU coreutils on `rehash`

pull/8962/merge
Marc Cornellà 2021-12-26 23:29:58 +01:00
parent f85087005a
commit 0f1de08713
No known key found for this signature in database
GPG Key ID: 0314585E776A9C1B
1 changed files with 2 additions and 7 deletions

View File

@ -73,11 +73,6 @@ function hash() {
}
function rehash() {
if [[ "$*" =~ "-f" ]]; then
builtin rehash "$@"
__gnu_utils
else
builtin rehash "$@"
fi
builtin rehash "$@"
__gnu_utils
}