Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Latest commit

 

History

History
17 lines (13 loc) · 840 Bytes

autocomplete.md

File metadata and controls

17 lines (13 loc) · 840 Bytes

Autocomplete

To enable autocomplete of commands, you will need to source the appropriate file in the .autocomplete folder. As an example, if you are using bash, you will have to source the .autocomplete/bash_autocomplete. If you are using zsh, you will source .autocomplete/zsh_autocomplete. You can setup this in a place where it will get automatically sourced (usually /etc/bash_completion.d/dr), or you can copy the file to somewhere else and source it manually (in your .zshr for example).

As an example, we could have in our ~/.zsh:

source ~/.autocomplete/zsh_autocomplete

Obviously, you can change the name of the file to something more descriptive (e.g: from *zsh_autocomplete to dr_autocomplete).