Skip to content

Commit

Permalink
Update env.sh so that is does not error when running on Mac
Browse files Browse the repository at this point in the history
Signed-off-by: bddicken <[email protected]>
  • Loading branch information
bddicken committed May 2, 2024
1 parent cb624f5 commit 9bb9242
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/common/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,7 @@ alias mysql="command mysql --no-defaults -h 127.0.0.1 -P 15306"
alias vtctldclient="command vtctldclient --server localhost:15999"

# Make sure aliases are expanded in non-interactive shell
shopt -s expand_aliases
if [[ "${SHELL##*/}" == "bash" ]]; then
shopt -s expand_aliases
fi

0 comments on commit 9bb9242

Please sign in to comment.