Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
mailcap configuration in zsh can't open .bk files
- X-seq: zsh-users 17957
- From: vinurs <haiyuan.vinurs@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: mailcap configuration in zsh can't open .bk files
- Date: Fri, 30 Aug 2013 09:12:42 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kH3RRrLn/g7++QH37xKaR5DH0dks+QxluMlUHOmeBC0=; b=SILxbYvAnFQFoQ+sVenwXC5aRRzAs+b0YAIIlOxq36iULtSRcmh/lXGnkVmFlRdJ3S 24BL6q5HSinaqcsTdP5tdeDyqNbYnsYMuPnHzFVnHhfACxnZrtYdWq0J3MlQN0yjN4ws I8DnvRWT3Ys+tKsLbbyFnTn0L0Zn/Q2/X/lEaKLY150yRxKt7nb4cy1tl0uDaolKdISr 2snMwEO9AgB9x07t16HXme66+HoeSVqWBxEALzcJgrSuJQh5LBoo+zTDcYTADv1pwjOe chiWn+z3OP8KasKv16xWsdL85NcV1zs3lvZy4DduOkTTi84eR5SrPKsdw7BRAu6Oytb4 qppw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi all,
I wrote
application/pdf; vinurs-pdf %s ;
in my .mailcap file, vinurs-pdf is a function that can open pdf files;
In zsh configuration file:
# MIME system
autoload -U zsh-mime-setup
zsh-mime-setup
then in zsh, I can open pdf files, but ,when I mv test.pdf to test.pdf.bk,
It can not be opened.
I use file --mime-type test.pdf.bk, It shows:
test.pdf.bk: application/pdf
Why this happens? How can I configure that zsh can open test.pdf.bk files.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author