-
-
Save amien8/e08929db933e7027093a to your computer and use it in GitHub Desktop.
An alias for your .bash_profile that allows you to search in the current folder using spotlight
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
function sl() { | |
/usr/bin/mdfind -onlyin \. $@ | |
} | |
#usage: | |
# sl Search for this phrase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment