dotfiles/fish.configlink/functions/note.fish
2022-04-30 10:21:43 -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