loading...

re: Bash function to add TILs from the command line VIEW POST

FULL DISCUSSION
 

That's neat.

I might suggest using the EDITOR variable to pick up the user's preferred editor, and fall back to good ol' Vim if it's not set:

${EDITOR:-vim} + "$TIL_FILE"
code of conduct - report abuse