Configure CLI Autocomplete
To configure CLI autocompletion, you must have two pieces of information: the name of
the shell you're using and the location of the
Locate the CLI completer.
Add the completer's folder to your path:
Reload the profile into the current session to put the changes into effect. Replace
Find your shell's profile script in your user folder.
Add the following command to your bash_profiler:
complete -C /usr/local/bin/cdp_completer cdp
.bash_profilewith the name of the shell script you discovered in the first section.
$ source ~/.bash_profile
- Find your shell's profile script in your user folder.
cdp<TAB> to display the available options for autocomplete.