Skip to content

Instantly share code, notes, and snippets.

View chrisnorris's full-sized avatar

chris norris chrisnorris

View GitHub Profile
chrisnorris /
Last active October 8, 2019 04:40 — forked from rumpelsepp/
Fuzzy cd for fish shell using fzf
function fcd --description "Fuzzy change directory"
if set -q argv[1]
set searchdir $argv[1]
set searchdir $HOME
set -l tmpfile (mktemp)
find $searchdir \( ! -regex '.*/\..*' \) ! -name __pycache__ -type d | fzf > $tmpfile