Last active
December 26, 2015 04:09
-
-
Save aaronj1335/7090969 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # if we've got the 'selecta' command (https://github.com/garybernhardt/selecta) | |
| # then bind ctrl-b to fuzzy-find a file and insert it on the command line | |
| if which selecta &>/dev/null; then | |
| export SELECTA_IGNORE='(.*node_modules.*)|(.*.git.*)' | |
| bind '"\C-b" "$(find -E . -type f -not -regex \"$SELECTA_IGNORE\" \| selecta)\n"' | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment