diff --git a/bin/org-capture b/bin/org-capture index 1f338c6b6..573ed6212 100755 --- a/bin/org-capture +++ b/bin/org-capture @@ -30,6 +30,9 @@ shift $((OPTIND-1)) [ -t 0 ] && str="$*" || str=$(cat) +# Fix incompatible terminals that cause odd 'not a valid terminal' errors +[ $TERM -eq "alacritty" ] && export TERM=xterm-256color + if [ $daemon ]; then emacsclient -a "" \ -c -F '((name . "doom-capture") (width . 70) (height . 25) (transient . t))' \