dictate
Lookup words in dictionaryapi.dev right from the terminal without interrupting your workflow.
📦 Installation
🚀 Usage
-
Lookup "hello" in the dictionary
NOTE: This also caches the output for later
lookups. -
Clean up the cached entries
💻 Shell Completion
-
Bash
-
Run the following
-
Restart bash and you should have tab-completion now.
-
-
Zsh
-
Append
~/.zfunctofpathin your zsh configNOTICE: Make sure to insert the following line before initializing
compinit.fpath+=("/.zfunc") -
Create the appended directory and dump completion definition to
~/.zfunc/_dictate -
Restart zsh and you should have tab-completion now.
NOTE: In case it's not working yet, delete
~/.zcompdumpand restart your shell again. -
-
Fish
-
Run the following
mkdir -p ~/.config/fish/completions dictate complete fish > ~/.config/fish/completions/rustup.fish -
Restart fish and you should have tab-completion now.
-