master
Stephen Cochrane 2 years ago
parent a3fa108e92
commit ca2ec210f3
  1. 6
      todo

@ -50,8 +50,10 @@ main()
done
;;
''|pdf)
open=
! command -v pdf && open='xdg-open' || open=pdf
if [ "$1" = pdf ]
then
! command -v pdf && open='xdg-open' || open=pdf
fi
open=${open:-"$EDITOR"} # What to open the file with.
run="select open in *.${1:-md}; do $open \"\$open\"; done" # Funky eval string
if [ -n "$term" ]

Loading…
Cancel
Save