bin/org-capture: TERM=xterm-256color in alacritty
This commit is contained in:
parent
06c404ecb1
commit
10d25be4ed
1 changed files with 3 additions and 0 deletions
|
@ -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))' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue