Files
zira-etc/profile.d/which2.sh
2021-05-24 22:18:33 +03:00

8 lines
333 B
Bash

# Initialization script for bash and sh
if [ "$0" = "ksh" ] || [ "$0" = "-ksh" ] ; then
alias which='(alias; typeset -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
else
alias which='(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
fi