From d751d4d53a73a7cf7096e55777b1a7c321bb4732 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Thu, 12 Feb 2015 10:57:58 -0500 Subject: Updated zsh completion to work with oscp --- bin/README_SHELL_COMPLETION | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'bin/README_SHELL_COMPLETION') diff --git a/bin/README_SHELL_COMPLETION b/bin/README_SHELL_COMPLETION index e17b4b205..46ed7134c 100644 --- a/bin/README_SHELL_COMPLETION +++ b/bin/README_SHELL_COMPLETION @@ -1,8 +1,8 @@ -# ossh is an ssh replacement. +# completion is available for ossh/oscp - -ossh uses a dynamic inventory cache in order to lookup hostnames and translate them -to something meaningful such as an IP address or dns name. +ossh/oscp uses a dynamic inventory cache in order to lookup +hostnames and translate them to something meaningful +such as an IP address or dns name. This allows us to treat our servers as cattle and not as pets. @@ -31,3 +31,7 @@ Once $fpath includes the _ossh_zsh_completion script then you should run `exec zsh`. This will then allow you to call `ossh host[TAB]` for a list of completions. +Before completing the final step, zsh keeps its own cache in +~/.zcompdump of the known functions and variables. In order to +refresh with new variables and completion arrays you might need +to `rm ~/.zcompdump` before running `exec zsh`. -- cgit v1.2.3