From f8ef25a59f92de63cdc50a5f3524c778c9982f89 Mon Sep 17 00:00:00 2001 From: chawley Date: Fri, 16 Feb 2024 15:55:17 -0500 Subject: [PATCH] Added cdf -> cd with the power of fzf --- .shell_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.shell_aliases b/.shell_aliases index 720f37f..6755c4b 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -36,3 +36,6 @@ alias mempigs='ps aux | awk '\''{print $6/1024 " MB\t\t" $11 " " $12}'\'' | sor # Edit files with vim/fzf alias vfz='vim "`fzf`"' alias vimf='vim "`fzf`"' + +# CD with the help of fzf +alias cdf='cd ~ && cd "$(find . -type d -print0 | fzf --read0 --print0)"'