dylanaraps / pure-bash-bible

📖 A collection of pure bash alternatives to external processes.
MIT License
36.49k stars 3.28k forks source link

Examples return false positives for aliases and builtins #95

Open rasa opened 4 years ago

rasa commented 4 years ago

Of the three examples here only hash correctly reports if an executable is in the PATH. type -p and command -v both report success on aliases, builtins, etc.

type -P (capital P) does correctly report if an executable is in the PATH.

Perhaps this section could be reworded to make this distinction more clear?