userspace-installation-maid/.local/bin/fzvim

11 lines
209 B
Plaintext
Raw Normal View History

2024-04-23 00:52:28 -04:00
#!/bin/bash
# stands for Open Code like my code
selected_path="$(find ~/Code/ ~/.local/bin/ ~/.config/ -type d -not -path '*/\.git*' -print | fzf)"
if [ ! -z $selected_path ]
then
nvim "$selected_path"
fi