File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# DO NOT MANUALLY MODIFY THIS FILE.
22# Use 'scripts/build' to regenerate if required.
33
4- bma_path=" ${HOME} /.bash-my-aws"
4+ bma_path=" ${BMA_HOME :- $ HOME } /.bash-my-aws"
55_bma_asgs_completion () {
66 local command=" $1 "
77 local word=" $2 "
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ funcs_after_bma=$(compgen -A function)
4141exclusions=(' region' )
4242
4343for fnc in $( echo " ${funcs_before_bma} " " ${funcs_after_bma} " " ${exclusions} " | tr ' ' ' \n' | LC_ALL=C sort | uniq -u) ; do
44- echo " alias $fnc ='${project_root } /bin/bma $fnc '" >> " $aliases_destination "
44+ echo " alias $fnc ='\$ {BMA_HOME:- \$ HOME/.bash-my-aws }/bin/bma $fnc '" >> " $aliases_destination "
4545done ;
4646
4747
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cat <<EOF
66# DO NOT MANUALLY MODIFY THIS FILE.
77# Use 'scripts/build' to regenerate if required.
88
9- bma_path="\$ {HOME}/.bash-my-aws"
9+ bma_path="\$ {BMA_HOME:- \$ HOME}/.bash-my-aws"
1010EOF
1111
1212# load in all the completions from scripts/completions
You can’t perform that action at this time.
0 commit comments