bin/org-capture: TERM=xterm-256color in alacritty

This commit is contained in:
Henrik Lissner 2020-08-21 03:04:14 -04:00
parent 06c404ecb1
commit 10d25be4ed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -30,6 +30,9 @@ shift $((OPTIND-1))
[ -t 0 ] && str="$*" || str=$(cat) [ -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 if [ $daemon ]; then
emacsclient -a "" \ emacsclient -a "" \
-c -F '((name . "doom-capture") (width . 70) (height . 25) (transient . t))' \ -c -F '((name . "doom-capture") (width . 70) (height . 25) (transient . t))' \