01-30-2022, 08:45 AM
Could you please try the following as a test instead of what you posted:
It is what I use.
Code:
# If not running interactively, don't do anything
[[ $- == *i* ]] || return
It is what I use.