Skip to content

Instantly share code, notes, and snippets.

@garaemon
Created June 18, 2014 04:47
Show Gist options
  • Save garaemon/edd3cbc4951cd1cef36e to your computer and use it in GitHub Desktop.
Save garaemon/edd3cbc4951cd1cef36e to your computer and use it in GitHub Desktop.
search rostopic by percol
function search-rostopic-by-percol(){
LBUFFER=$LBUFFER$(rostopic list | percol)
zle -R -c
}
zle -N search-rostopic-by-percol
bindkey '^[r' search-rostopic-by-percol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment