Created
July 27, 2015 11:35
-
-
Save SlevinBE/4cae6f0b12051ea5c87a to your computer and use it in GitHub Desktop.
Bash script with some integration commands between sheet (a shell bookmarking lib) and fzf (a fuzzy search command lib). Written for OSX
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
# find a sheet and show its content | |
sheetf() { | |
SHEET_NAME=$(sheet | fzf) | |
sheet $SHEET_NAME | |
} | |
#find a sheet and copy it's contents onto the clipboard | |
sheetfc() { | |
SHEET_NAME=$(sheet | fzf) | |
sheet $SHEET_NAME | pbcopy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use this by sourcing the script in your ~/.bash_profile file: