which/which2.sh

4 lines
157 B
Bash

# Initialization script for bash and sh
alias which='(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'