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 dired='emacsclient '
alias d='emacsclient ' alias d='emacsclient '
else else
export EDITOR='emacsclient -nw' export EDITOR='emacsclient -a nvim -nw'
# Because I keep using n by mistake # Because I keep using n by mistake
alias n='emacsclient -nw ' alias emacs='emacsclient -a nvim -nw '
alias e='emacsclient -nw ' alias n=emacs
alias emacs='emacsclient -nw ' alias e=emacs
function dired() { function dired() {
if (( ${#} == 0 )); then if (( ${#} == 0 )); then
emacsclient -nw --eval '(dired ".")' emacsclient -nw --eval '(dired ".")'