fcd


"/home/yossef/notes/git/scripts/fcd.md"

path: git/scripts/fcd.md

- **fileName**: fcd
- **Created on**: 2025-03-26 14:33:21

it's on the .zshrc it's ascript for search for dir and change dir to this dir

install fzf

arch : sudo pacman -S fzf
popos : sudo apt install fzf

##****** some functions ********##
fzf_cd() {
    # Use fzf to select a directory from the output of find
    local folder
    folder=$(find "$(pwd)" -type d -print 2>/dev/null | fzf --height 40%)

    # Check if a folder was selected
    if [[ -n "$folder" ]]; then
        cd "$folder" || return
    else
        echo "No folder selected." >&2
        return 1
    fi
}

continue:./install_blue.md
before:./tm.md