Bash: cd into whatever is the forefront Finder window.
This commit is contained in:
parent
1fca62c5e3
commit
84636be8bd
@ -8,6 +8,11 @@ function md() {
|
|||||||
mkdir -p "$@" && cd "$@"
|
mkdir -p "$@" && cd "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# cd into whatever is the forefront Finder window.
|
||||||
|
cdf() {
|
||||||
|
cd "`osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)'`"
|
||||||
|
}
|
||||||
|
|
||||||
# Find shorthand
|
# Find shorthand
|
||||||
function f() {
|
function f() {
|
||||||
find . -name "$1" 2>/dev/null
|
find . -name "$1" 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user