Created
May 26, 2021 02:12
-
-
Save TerryFunggg/dc42aafb7ede059f404515b44e8825b5 to your computer and use it in GitHub Desktop.
fzf find file and open it
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
| finder(){ | |
| du -a $1 | awk '{print $2}' | fzf | xargs -r $EDITOR | |
| } | |
| # Usage: | |
| # finder {folder} | |
| # eg: finder .config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment