oh-my-zsh/plugins/mongo/mongo.plugin.zsh

7 lines
115 B
Bash
Raw Normal View History

_mongodbs() {
mypath=$(dirname $0)
compadd $(mongo --quiet $mypath/load_databases.js)
}
compdef _mongodbs mongo