Skip to content

Commit

Permalink
mplayer entry now has needsterminal
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Jul 30, 2004
1 parent f8391e0 commit b96430a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .mailcap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ text/enriched; richtext -e -t; description="Enriched Text"; copiousoutput
text/richtext; richtext -t; description="Rich Text"; copiousoutput
text/plain; vim -R '%s'; edit=vim '%s'; needsterminal; test=test -t 0
text/plain; vim -gRf '%s'; edit=vim -gf '%s'; test=test -n "$DISPLAY" -a ! -t 0
video/*; mplayer '%s'; description="Video"
video/*; mplayer '%s'; description="Video"; needsterminal; test=test -t 0
video/*; gmplayer '%s'; description="Video"; test =test -n "$DISPLAY"
image/*; feh '%s'; edit=gimp '%s'; description=Image; test=test -n "$DISPLAY"
image/*; xv '%s'; description="Image"; test=test -n "$DISPLAY"
image/*; anytopnm '%s' > '%s.pnm' && aview -driver curses '%s.pnm' && rm -f '%s.pnm'; description="Image"; needsterminal
Expand Down

0 comments on commit b96430a

Please sign in to comment.