Add -a to emacsclient aliases

This commit is contained in:
Alexander Rosenberg 2024-01-09 21:35:32 -08:00
parent 3079b878eb
commit a17ad2dc3c
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -75,11 +75,11 @@ elif [[ -v INSIDE_EMACS ]]; then
alias dired='emacsclient '
alias d='emacsclient '
else
export EDITOR='emacsclient -nw'
export EDITOR='emacsclient -a nvim -nw'
# Because I keep using n by mistake
alias n='emacsclient -nw '
alias e='emacsclient -nw '
alias emacs='emacsclient -nw '
alias emacs='emacsclient -a nvim -nw '
alias n=emacs
alias e=emacs
function dired() {
if (( ${#} == 0 )); then
emacsclient -nw --eval '(dired ".")'