commit 19608fa3fff9a487798a9c176f29007cc3bef460 parent e79fc52d814cef467291150d38ead41984ca4434 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 17 Jul 2019 07:57:47 +0200 Use fzf instead of fzy for c() Diffstat:
M | .commands.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.commands.sh b/.commands.sh @@ -16,7 +16,7 @@ alias ch='cd "$(dirs -lp | sort -u | fzy)"' # cd from history # change to directory under pwd c() { dir - dir=$(find "${1:-.}" -type d | grep -v '/\.' | fzy) + dir=$(find "${1:-.}" -type d | grep -v '/\.' | fzf) [ -d "$dir" ] && cd "$dir" || return }