We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fabd57 commit de4fefeCopy full SHA for de4fefe
examples/common/env.sh
@@ -90,6 +90,8 @@ alias mysql="command mysql --no-defaults -h 127.0.0.1 -P 15306"
90
alias vtctlclient="command vtctlclient --server localhost:15999 --log_dir ${VTDATAROOT}/tmp --alsologtostderr --config-file-not-found-handling=ignore"
91
alias vtctldclient="command vtctldclient --server localhost:15999"
92
93
-# Make sure aliases are expanded in non-interactive shell
94
-shopt -s expand_aliases
+# If using bash, make sure aliases are expanded in non-interactive shell
+if [[ -n ${BASH} ]]; then
95
+ shopt -s expand_aliases
96
+fi
97
0 commit comments