I should have read https://www.gnu.org/software/bash/manua ... iases.htmlaliases are not normally expanded in scripts. (I.e., only in interactive shells)Before invoking df (or invoking the script) the line
Note that OP didn't explicitly mention "scripts", but that is the inference I took from his posts.
Functions are likely not to need other recursive workarounds . Can functions be made common to every script (source SOMEPATH/commonFunctions.sh or better?)
Statistics: Posted by dbrion1 — Wed Jan 17, 2024 6:41 am