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