dotfiles/modules/common/shell/fish/functions/note.fish
2023-02-20 20:37:37 -05: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