26d22ee8dc
The 'whence' function defined in /etc/profile serves a limited purpose with Bash as the default shell. Bash already provides which/type/command as built-ins, which the function simply wraps. Additionally, zsh has a built-in 'whence' command, which is masked by the definition in /etc/profile. The function does not work under zsh, breaking core zsh functionality as a result. Fixes #18612 Change-Id: Ia34d95ffd58b2cb06d71145a217a9017657fa4a3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6979 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> |
||
---|---|---|
.. | ||
profile.d | ||
inputrc | ||
profile |