hotfix -- open existing

This commit is contained in:
Mehmet Tekman 2017-08-29 19:39:49 +01:00
parent c4317eef4c
commit 8a1b3f407b

View File

@ -52,10 +52,12 @@ Generates an org-notes file in a folder location set in the $org_loc file
;; ;;
esac esac
if [ "$command" = "--delete" ] || [[ "$command" =~ "--move=" ]]; then if [[ "$command" =~ "--" ]]; then
else if [ "$command" = "--delete" ] || [[ "$command" =~ "--move=" ]]; then
echo "Unable to parse: $command" else
return -1 echo "Unable to parse: $command"
return -1
fi
fi fi
local ext=$( echo $file | awk -F'.' '{print $NF}' ) local ext=$( echo $file | awk -F'.' '{print $NF}' )