mirror of https://github.com/ohmyzsh/ohmyzsh.git
fix(gnu-utils): always reapply GNU coreutils on `rehash`
parent
f85087005a
commit
0f1de08713
|
@ -73,11 +73,6 @@ function hash() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function rehash() {
|
function rehash() {
|
||||||
if [[ "$*" =~ "-f" ]]; then
|
builtin rehash "$@"
|
||||||
builtin rehash "$@"
|
__gnu_utils
|
||||||
__gnu_utils
|
|
||||||
else
|
|
||||||
builtin rehash "$@"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue