This commit is contained in:
NaiJi ✨ 2024-04-23 13:24:45 +04:00
parent 14597de407
commit e12c18dae6
1 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
#!/bin/bash
# stands for Open Code like my code
# stands for fuzzy vim
selected_path="$(find ~/Code/ ~/.local/bin/ ~/.config/ -type d -not -path '*/\.git*' -print | fzf)"
if [ ! -z $selected_path ]
if [ ! -z "${selected_path}" ]
then
nvim "$selected_path"
echo "${selected_path}"
nvim "${selected_path}"
fi