equal
deleted
inserted
replaced
13 # You should have received a copy of the GNU General Public License |
13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 |
15 |
16 _relpipe_tr_sql_completion_dsn() { |
16 _relpipe_tr_sql_completion_dsn() { |
17 if type relpipe-out-nullbyte &> /dev/null; then |
17 if type relpipe-out-nullbyte &> /dev/null; then |
18 relpipe-tr-sql --list-data-sources | relpipe-out-nullbyte | while read -r -d '' name; do read -r -d '' description; echo $name; done |
18 relpipe-tr-sql --list-data-sources true | relpipe-out-nullbyte | while read -r -d '' name; do read -r -d '' description; echo $name; done |
19 fi |
19 fi |
20 } |
20 } |
21 |
21 |
22 _relpipe_tr_sql_completion() { |
22 _relpipe_tr_sql_completion() { |
23 local w0 w1 w2 |
23 local w0 w1 w2 |