Ensure aliases work within non-interactive shell (#562)

Co-authored-by: GHA <actions@github.com>
This commit is contained in:
Alejandro R Mosteo
2022-06-24 13:51:58 +02:00
committed by GitHub
parent 63d9347fc2
commit fab9b9953e
+3
View File
@@ -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"