+2014-03-27 - Silvio Rhatto <rhatto@riseup.net>
+
+ Avoid viminfo if VIM is set as $EDITOR (#50)
+
2014-03-22 - 0.3.3 - Silvio Rhatto <rhatto@riseup.net>
Use --recv-keys instead of --refresh-keys
# Prompt
echo "Press any key to open the decrypted data with $APP, Ctrl-C to abort"
+echo "WARNING: please make sure that $APP doesn't leak data to external applications os files"
read key
$APP "$TMPWORK"
fi
fi
+ # Avoid viminfo, see https://keyringer.pw/trac/ticket/50
+ if $EDITOR --help | grep -q -e "^VIM"; then
+ if ! echo $EDITOR | grep -q -- "-i NONE"; then
+ EDITOR="$EDITOR -i NONE"
+ fi
+ fi
+
if [ ! -f "$OPTIONS" ]; then
echo "No option config was found"
exit 1