A ZSH Plugin for completion for the speedtest-cli
.
Simply press tab or your auto-completion hotkey after typing in speedtest-cli
:
speedtest-cli <TAB>
Here are a few ways to install the plugin on different plugin managers:
Run the following:
cd $HOME
git clone https://github.com/Yash-Singh1/zsh-plugin-speedtest.git
Then add the following code before you run compinit
in your .zshrc
:
export fpath=($HOME/zsh-plugin-speedtest $fpath)
Add the following in your .zshrc
:
antigen bundle Yash-Singh1/zsh-plugin-speedtest
-
Clone this repository in oh-my-zsh's
custom/plugins
directory:git clone https://github.com/Yash-Singh1/zsh-plugin-speedtest.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-plugin-speedtest
-
Activate the plugin in
~/.zshrc
:plugins=( [plugins...] zsh-plugin-speedtest)
-
Restart
zsh
(such as by opening a new instance of your terminal emulator).
Add zgen load Yash-Singh1/zsh-plugin-speedtest
to your .zshrc
.
Add zplug "Yash-Singh1/zsh-plugin-speedtest", defer:2
to your .zshrc
.