dotfiles/modules/common/shell/fish/functions/note.fish

9 lines
164 B
Fish
Raw Permalink Normal View History

2022-04-30 14:21:43 +00:00
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