BaseX zsh plugin
Maintainer: dirkk
This plugin adds several BaseX (http://www.basex.org) aliases for simplified usage
Cheetsheet
Alias | Expand |
---|---|
bx |
basex |
bxh |
basex with the root directoy as the current directory |
bxc |
basex -c execute database command |
bxo |
basex -i open initial file or db |
bxe |
basex -R -x emulate execution, show query plan |
|
bxg
| basexgui
bxgh
| basexgui
with the root directoy as the current directory
|
bxsv
| basexserver -e 0
bxsvs
| basexserver -e 0 -S
bxsvp
| basexserver -e 0 -p
bxst
| basexserver stop
|
bxcl
| basexclient
with the first command being [[username[:password]@]host[:port]]
|
bxht
| basexhttp -e 0 -p 0 -h 1984
bxhts
| basexhttp -e 0 -p 0 -h 1984 -S
bxhtp
| basexhttp -e 0 -p 0 -h
bxhst
| basexhttp stop
Installation
This plugin is intended to by used with oh-my-zsh. Simply put all files into the plugins directoy in a new folder. The default directory is .oh-my-zsh/plugins
, so put all the files in a directory .oh-my-zsh/plugins/basex
and add it to the plugins in your .zshrc
, e.g. plugins=(git basex)
.