Question: is there a way to convince
ffap
to perform variable substitution on environment variables before attempting to resolve the file path?
I often have lines in shell scripts that read:
variable="${ENV_VAR}/path/to/file"
When I use ffap
on the above, it is unaware of what ${ENV_VAR}
means. Assume ENV_VAR
is properly defined via
export ENV_VAR="/path/to/dir"
in one of the shell's init-files and it can be found in the output of env
. Is there a way we can trick ffap
to do the variable substitution?