dotfiles/modules/shell/fish/functions/note.fish
2022-05-06 09:44:21 -04:00

9 lines
164 B
Fish

if test -n "$filename"
vim $NOTES_PATH/$filename.md
else
set file (ls $NOTES_PATH | fzf)
if [ $status -eq 0 ]
vim $NOTES_PATH/$file
end
end