Revision 9167
Added by Aaron Marcuse-Kubitza almost 12 years ago
db.sh | ||
---|---|---|
6 | 6 |
# using prefixed connection vars |
7 | 7 |
alias use_local='declare prefix=local_; import_vars' |
8 | 8 |
alias use_remote='declare prefix=remote_; import_vars' |
9 |
alias use_local_remote='use_local; use_remote' # *must* be run inside a function |
|
9 |
alias use_local_remote='{ use_local; use_remote; }' |
|
10 |
# *must* be run inside a function |
|
10 | 11 |
|
11 | 12 |
quote='"' |
12 | 13 |
|
Also available in: Unified diff
*{.sh,run}: multi-command aliases: enclose in {} so the alias can be used after ||