You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
231 B
Bash
9 lines
231 B
Bash
7 years ago
|
#!/bin/bash
|
||
|
QLFILE=$1
|
||
|
|
||
|
# we have to trap ctrl-c so that a successful exit signal will be given,
|
||
|
# so that mutt won't prompt us to press any key to continue
|
||
|
trap 'exit 0' 2 #traps Ctrl-C (signal 2)
|
||
|
|
||
|
qlmanage -p $QLFILE >& /dev/null
|