1 2 3 4 5 6
#!/bin/sh # docs: Browse and create documentation with vim. DOCS=~/documentation [ -d $DOCS ] && ${EDITOR:-nvim} "$DOCS"