hotfix -- open existing
This commit is contained in:
parent
c4317eef4c
commit
8a1b3f407b
@ -52,11 +52,13 @@ Generates an org-notes file in a folder location set in the $org_loc file
|
||||
;;
|
||||
esac
|
||||
|
||||
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}' )
|
||||
[ "$ext" != ".org" ] && file=${file}.org
|
||||
|
Loading…
Reference in New Issue
Block a user