13 lines
259 B
Bash
Executable File
13 lines
259 B
Bash
Executable File
#!/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"
|
|
vim "${selected_path}"
|
|
fi
|