aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-02-28 23:12:59 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-02-28 23:12:59 +0000
commit1f04ce0ea505ca2afc9c1da4926a21b4a92ee9be (patch)
tree11fb182c6478a138ce36dff9d134b727a0ef4607
parent1b9c43e7493bcd503cd7498aad3935db040363bf (diff)
downloaddotfiles-1f04ce0ea505ca2afc9c1da4926a21b4a92ee9be.tar.gz
dotfiles-1f04ce0ea505ca2afc9c1da4926a21b4a92ee9be.tar.bz2
dotfiles-1f04ce0ea505ca2afc9c1da4926a21b4a92ee9be.zip
(Shell)+sudo alias for doas ~emacsclient aliases
-rw-r--r--Shell/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc
index 82be114..f355e4b 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -4,6 +4,7 @@
TERM=xterm-256color
## Aliases
alias vim="nvim"
+alias sudo="doas"
alias eclient="emacsclient -s MAIN"
alias emdir=".config/emacs/"
alias clip="xclip -sel clip"
@@ -13,9 +14,8 @@ alias ls="ls --color"
alias l="ls -la"
alias fzf="fzf --layout=reverse --height=20"
alias suctl="systemctl --user"
-alias uemacs="emacs -q -l '~/.config/emacs/init.el'"
-alias sedit="eserver -a emacs -c"
-alias dre="doom sync"
+alias sedit="emacsclient -s MAIN -a emacs -c"
+alias cedit="emacsclient -s MAIN -a emacs -nw"
## ZSH
setopt autocd