From a089dfac4e236418d1a97d36ab499353cc4df4ca Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Thu, 29 Jul 2021 11:32:47 +0200 Subject: [PATCH] Fix emacs aliases --- files/.bashrc | 2 +- files/.zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/.bashrc b/files/.bashrc index c503f5c..89f44d2 100644 --- a/files/.bashrc +++ b/files/.bashrc @@ -10,7 +10,7 @@ DIR="\[\033[1;94m\]\w\[\033[m\]" export PS1="${HOST} ${DIR}${GIT} ${ICON} " # ============================== Aliases -alias emacsnw="emacsclient -c -nw -a 'emacs -nw'" +alias emacsnw="TERM=xterm-direct emacsclient -c -nw -a 'emacs -nw'" alias s="cd ~/scripts/" alias c='clear' diff --git a/files/.zshrc b/files/.zshrc index d89a8b3..22da2d0 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -44,7 +44,7 @@ export PROMPT="${NAME}${DIR}${GIT} ${ICON}%{$reset_color%} " zstyle ':vcs_info:git:*' formats '|%b ' # ============================== Aliases -alias emacsnw="emacsclient -nw -a 'emacs -nw'" +alias emacsnw="TERM=alacritty-direct emacsclient -nw -a 'emacs -nw'" if command -v rg &> /dev/null; then alias grep="rg"