Created
October 2, 2017 05:03
-
-
Save rhydlewis/c743cea7e8f1187d29ef324aa5cc58fd 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
alias yd='youtube-dl -x --audio-format m4a' | |
alias slime='open -a "Sublime Text"' | |
alias ax='chmod a+x' | |
alias ff='open -a Finder ./' | |
alias p='ps aux| grep -v grep| grep -i' | |
alias h='history' | |
function cdf | |
set target (osascript -e 'tell application "Finder" to if (count of Finder windows) > 0 then get POSIX path of (target of front Finder window as text)') | |
if [ $target ] | |
cd $target | |
pwd | |
else | |
echo 'No Finder window found' >&2 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment