2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-19 03:25:33 +00:00
steffen-dotfiles/office/quicklook.sh
2017-03-19 14:21:43 +01:00

9 lines
231 B
Bash
Executable File

#!/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