Fix emacs aliases

This commit is contained in:
Marco Thomas
2021-07-29 11:32:47 +02:00
parent 6c8d75ee8f
commit a089dfac4e
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ DIR="\[\033[1;94m\]\w\[\033[m\]"
export PS1="${HOST} ${DIR}${GIT} ${ICON} " export PS1="${HOST} ${DIR}${GIT} ${ICON} "
# ============================== Aliases # ============================== 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 s="cd ~/scripts/"
alias c='clear' alias c='clear'

View File

@@ -44,7 +44,7 @@ export PROMPT="${NAME}${DIR}${GIT} ${ICON}%{$reset_color%} "
zstyle ':vcs_info:git:*' formats '|%b ' zstyle ':vcs_info:git:*' formats '|%b '
# ============================== Aliases # ============================== 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 if command -v rg &> /dev/null; then
alias grep="rg" alias grep="rg"