diff options
author | Till Höppner | 2017-05-15 14:34:02 +0200 |
---|---|---|
committer | Till Höppner | 2017-05-15 14:34:02 +0200 |
commit | 6e144bcba48c7fd7a707693874a9bb311afd2c33 (patch) | |
tree | 43b9166c5d6817f01312f22a0fcd846a06dc69f4 /functions/fd | |
parent | d027cc4db3c84e0333b1b3136484b412a2f86a67 (diff) | |
download | zsh-6e144bcba48c7fd7a707693874a9bb311afd2c33.tar.gz zsh-6e144bcba48c7fd7a707693874a9bb311afd2c33.tar.xz zsh-6e144bcba48c7fd7a707693874a9bb311afd2c33.zip |
Add fuzzy cd/locate/kill
Diffstat (limited to 'functions/fd')
-rw-r--r-- | functions/fd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/fd b/functions/fd new file mode 100644 index 0000000..16f54d6 --- /dev/null +++ b/functions/fd @@ -0,0 +1,3 @@ +# fda - including hidden directories +local dir +dir=$(find ${1:-.} -type d 2> /dev/null | fzf +m) && cd "$dir" |