mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
Merge pull request #4752 from panchoh/fix/org-capture-arguments
Fix 'too many arguments' error on org-capture
This commit is contained in:
@@ -30,7 +30,7 @@ shift $((OPTIND-1))
|
|||||||
|
|
||||||
# use remaining args, else try stdin
|
# use remaining args, else try stdin
|
||||||
str="$*"
|
str="$*"
|
||||||
if [ -z $str ]; then
|
if [ -z "$str" ]; then
|
||||||
str=$(cat)
|
str=$(cat)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user