changeset 492:26caf7bf8805

mcfly: fix to correctly no-op when mcfly is absent
author Augie Fackler <raf@durin42.com>
date Wed, 01 Jul 2020 13:36:33 -0400
parents 4b2472372fad
children 1bb1c44ce49c ef22f075b638
files .shell.d/99.mcfly.zsh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.shell.d/99.mcfly.zsh
+++ b/.shell.d/99.mcfly.zsh
@@ -5,7 +5,7 @@
 
 # Make sure mcfly is installed
 if ! which mcfly > /dev/null ; then
-    echo nope
+    return 0
 fi
 
 # Avoid loading this file more than once