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
if [ "$command" = "--delete" ] || [[ "$command" =~ "--move=" ]]; then
else
echo "Unable to parse: $command"
return -1
if [[ "$command" =~ "--" ]]; then
if [ "$command" = "--delete" ] || [[ "$command" =~ "--move=" ]]; then
else
echo "Unable to parse: $command"
return -1
fi
fi
local ext=$( echo $file | awk -F'.' '{print $NF}' )