This is a plugin that allows you to execute mise
commands using keyboard shortcuts utilizing fzf
and mise
.
Install fzf using Homebrew
brew install fzf
Please refer to the fzf official documentation for installation instructions on other operating systems.
wget -O ~/.fzfmise https://raw.githubusercontent.com/gumob/fzf-mise/main/fzf-mise.sh
Source fzf
and fzfmise
in your run command shell.
By default, no key bindings are set. If you want to set the key binding to Ctrl+K
, please configure it as follows:
Set the key binding for fzf-mise and load the script.
cat <<EOL >> ~/.zshrc
export FZF_MISE_KEY_BINDING="^E"
source ~/.fzfmise
EOL
~/.zshrc
should be like this.
source <(fzf --zsh)
export FZF_MISE_KEY_BINDING='^E'
source ~/.fzfmise
Source run command
source ~/.zshrc
Set the key binding for fzf-mise and load the script.
cat <<EOL >> ~/.bashrc
export FZF_MISE_KEY_BINDING='\C-e'
source ~/.fzfmise
EOL
~/.bashrc
should be like this.
eval "$(fzf --bash)"
export FZF_MISE_KEY_BINDING='\C-e'
source ~/.fzfmise
Source run command
source ~/.bashrc
Using the shortcut key set in FZF_MISE_KEY_BINDING
, you can execute fzf-mise
, which will display a list of mise
commands.
To run fzf-mise
without using the keyboard shortcut, enter the following command in the shell:
fzf-mise
This project is licensed under the MIT License. The MIT License is a permissive free software license that allows for the reuse, modification, distribution, and sale of the software. It requires that the original copyright notice and license text be included in all copies or substantial portions of the software. The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement.