aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_mutt
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-14 12:52:47 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-14 12:52:47 -0500
commitd7d6684d2786bb307e23a092dc5bb535d1b3c3f9 (patch)
tree4804f118ab608ab28344ad11c2d8ab2ed2a088e9 /bin/executable_mutt
parentSimplify vim configuration (diff)
switch from which to command
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]bin/executable_mutt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/executable_mutt b/bin/executable_mutt
index 78bd4ca..787d06e 100755..100644
--- a/bin/executable_mutt
+++ b/bin/executable_mutt
@@ -1,6 +1,6 @@
#!/bin/sh
-if which neomutt; then
+if command -v neomutt >/dev/null; then
exec neomutt $@
else
exec mutt $@