Created
January 30, 2025 11:26
-
-
Save keyle/92e9d33db86776ca067ef5be1973fd53 to your computer and use it in GitHub Desktop.
dir finding with fzf
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
dir() { | |
cd "$(fd "^${*}" "${HOME}" --max-depth 2 --type d | fzf --select-1 --query "${*}")" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment