Using these completions, you can quickly tab complete:
- Startup of an admin node
- Launching a new run-time node
- Dumping configuration
- Reloading configuration
- Checking the current version
- and more
Here's a demo using Zsh:
To make sure its sourced on shell startup, put the idsvr-completion
file in the bash_completion.d
directory. Where that directory is depends on your OS.
- If using Mac OS X with homebrew, the path is
/usr/local/etc/bash_completion.d
. - If using Linux, its probably in
/etc/bash_completion.d
.
- Download
_idsvr
. - Put the directory that contains the
_idsvr
function in yourfpath
, for example,fpath+=($PWD/idsvr-completions)
, or put this script in a directory that is already in yourfpath
. - Make sure compsys is initialized. It is if you can tab complete other commands. If not, it should be enough to run
compinit
in your shell or your initialization file. - Then, you need to autoload the
_idsvr
script. To do this, runautoload -U _idsvr idsvr idsh
. If you work for Curity, you'll want to doautoload -U _idsvr idsvr idsh run dr
.
Please visit curity.io for more information about the Curity Identity Server.
Copyright (C) 2018-2020 Curity AB.