zsh-snr
June 18, 2024 ยท View on GitHub
A Zsh plugin to pass the selected output of the first command to next!
Installation
zinit
zinit wait lucid for raisedadead/zsh-snr
Other Plugin Managers
Zplug
zplug "raisedadead/zsh-snr"
Antigen
antigen bundle raisedadead/zsh-snr
Oh-My-Zsh
git clone https://github.com/raisedadead/zsh-snr.git $ZSH_CUSTOM/plugins/zsh-snr
plugins=(
#...
zsh-snr
)
Manual
git clone https://github.com/raisedadead/zsh-snr.git
source zsh-snr/snr.plugin.zsh
Usage
snr <command-one --optional-flags-cmd-one> <command-two --optional-flags-cmd-two>
# Example usage
# snr "gh pr list" "gh pr checkout"
License
Software: The software as it is licensed under the ISC License, please feel free to extend, re-use, share the code.