mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
hotfix -- open existing
This commit is contained in:
parent
c4317eef4c
commit
8a1b3f407b
1 changed files with 6 additions and 4 deletions
|
|
@ -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}' )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue