diff --git a/bin/org-capture b/bin/org-capture index 573ed6212..f298b5b60 100755 --- a/bin/org-capture +++ b/bin/org-capture @@ -31,7 +31,7 @@ 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 +[ $TERM = "alacritty" ] && export TERM=xterm-256color if [ $daemon ]; then emacsclient -a "" \