summaryrefslogtreecommitdiff
path: root/bin/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-02-09 09:03:10 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-02-09 09:03:10 -0500
commitd8f57b57f6e4f7d07969a26775686b45b0e2b565 (patch)
treeb6476993c24b55ca2a884995bc35460def926c3b /bin/mw
parent4cb726546f679bdbab95a7e81937fe6d278578c0 (diff)
muttimage replaced by openfile
Diffstat (limited to 'bin/mw')
-rwxr-xr-xbin/mw3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 98f2b99..616b528 100755
--- a/bin/mw
+++ b/bin/mw
@@ -1,4 +1,5 @@
-#!/usr/bin/env sh
+#!/bin/sh
+
command -V gpg >/dev/null 2>&1 && GPG="gpg" || GPG="gpg2"
[ -z ${PASSWORD_STORE_DIR+x} ] && PASSWORD_STORE_DIR="$HOME/.password-store"
[ -r "$PASSWORD_STORE_DIR/.gpg-id" ] &&