Fish plugin for completing IP address of host registered to mackerel.
With fresco
fresco masa0x80/complete_mkr_host_ip.fish
With fisherman
fisher masa0x80/complete_mkr_host_ip.fish
To insert IP address to command line, type ctrl-o ctrl-o (\co\co
).
required
To use mkr, you should assign the API key to the environment variable.
It is a suffix of cache file. The cache file of complete_mkr_host_ip.fish
is separated by using MACKEREL_APIKEY_NAME
.
If you use mackerel organizations, I think it is useful to specify MACKEREL_APIKEY_NAME
.
It is defaulted to 'false'. If you want to complete global IP address, you should set it 'true'.
COMPLETE_MKR_HOST_IP_KEYBIND
is the key binding to start the input completion for host's IP address.
It is defaulted to \co\co
(ctrl-o ctrl-o).