Ensure aliases work within non-interactive shell (#562)
Co-authored-by: GHA <actions@github.com>
This commit is contained in:
committed by
GitHub
parent
63d9347fc2
commit
fab9b9953e
@@ -6,6 +6,9 @@ trap 'echo "Interrupted" >&2 ; exit 1' INT
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
|
||||
# Required for aliases to work in non-interactive scripts
|
||||
shopt -s expand_aliases
|
||||
|
||||
# Ensure all alr runs are non-interactive and able to output unexpected errors
|
||||
alias alr="alr -d -n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user