which/which2.sh
Till Maas 3aa802cfd1 Check functions (#1194044)
- Use %license
2015-02-18 21:46:20 +01:00

9 lines
224 B
Bash

# Initialization script for bash and sh
# export AFS if you are in AFS environment
which ()
{
(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}
export -f which