-
-
Notifications
You must be signed in to change notification settings - Fork 4
Mdz (CLI)
Felipe Gomes edited this page Nov 5, 2024
·
1 revision
Please verify if you have autocomplete enabled globally, otherwise the autocomplete for cli will not work
You need to install zsh-autosuggestions
brew install zsh-autosuggestions
sudo pacman -S zsh-autosuggestions
sudo apt install zsh-autosuggestions
sudo dnf install zsh-autosuggestions
sudo apk add zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Run
echo "autoload -U compinit; compinit" >> ~/.zshrc
Run
echo "source <(mdz completion zsh); compdef _mdz mdz" >> ~/.zshrc
Run
source ~/.zshrc
You need to install bash-completion
brew install bash-completion
sudo pacman -S bash-completion
sudo apt install bash-completion
Run
echo "source <(mdz completion bash)" >> ~/.bashrc
Run
source ~/.zshrc
Run the command below once
echo "mdz completion fish | source" >> ~/.config/fish/config.fish