Revision 9641
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
4 | 4 |
if self_not_included; then |
5 | 5 |
|
6 | 6 |
# using prefixed connection vars |
7 |
alias ssh2local='declare prefix=ssh_; import_vars; unset prefix |
|
8 |
declare $(prefix=ssh_ get_prefix_vars); unset $(prefix=ssh_ get_prefix_vars)' |
|
7 | 9 |
alias use_local='declare prefix=local_; import_vars; unset prefix' |
8 | 10 |
alias use_remote='declare prefix=remote_; import_vars; unset prefix' |
9 | 11 |
alias use_local_remote='{ use_local; use_remote; }' |
Also available in: Unified diff
lib/sh/db.sh: added ssh2local alias