diff --git a/functions.sh b/functions.sh index 774f622..60f6bca 100755 --- a/functions.sh +++ b/functions.sh @@ -130,6 +130,7 @@ mencfs () { [ -z ${PKEY+x} ] && { EXIT; return 3; } [ -z ${ENCDIR+x} ] && { EXIT; return 4; } [ -z ${DESTDIR+x} ] && DESTDIR="$(dirname $ENCDIR)/$(basename $ENCDIR| tr '[:lower:]' '[:upper:]'| sed -e 's/^\.//')" + [ -d "$DESTDIR" ] || mkdir -p "$DESTDIR" $PASS "${PKEY}" 1>/dev/null 2>&1 || { logerror "entry $PKEY does not exist in passwordsotre"; return 5; } local ENCFS_PASSWORD=$($PASS "${PKEY}" | head -n1) diff --git a/vim/pack/plugins/start/fzf b/vim/pack/plugins/start/fzf index 7bd99a2..1ed25d7 160000 --- a/vim/pack/plugins/start/fzf +++ b/vim/pack/plugins/start/fzf @@ -1 +1 @@ -Subproject commit 7bd99a22eeba74c88ad60f860111247a052f5586 +Subproject commit 1ed25d76ba51f9b3ab66f75b73734be43d41b8c3