bash-completion.sh
branchv_0
changeset 55 3a120e64bb37
parent 54 bc6e11cccdf4
child 59 a1775ba6d056
equal deleted inserted replaced
54:bc6e11cccdf4 55:3a120e64bb37
    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