#!/bin/bash # stands for fuzzy vim selected_path="$(find ~/Code/ ~/.local/bin/ ~/.config/ -maxdepth 2 -type d -not -path '*/\.git*' -print | fzf)" if [ ! -z "${selected_path}" ] then echo "${selected_path}" cd "$selected_path" nvim "${selected_path}" fi