From 0de7ec0d7cbc22db96128889fb27795367d13164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Czy=C5=BC?= Date: Tue, 28 Feb 2023 19:46:33 +0100 Subject: [PATCH] emacs aliases --- dwm/.xinitrc | 3 +++ zsh/.aliases | 4 ++++ zsh/.zshrc | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dwm/.xinitrc b/dwm/.xinitrc index 0de0f5d..06030b0 100644 --- a/dwm/.xinitrc +++ b/dwm/.xinitrc @@ -87,6 +87,9 @@ caffeine >/dev/null 2>&1 & ## Ulauncher ulauncher --hide-window --no-window-shadow >/dev/null 2>&1 & +# Emacs Server +emacs --daemon & + ## THINKPAD-SPECIFIC hash dockd && dockd --daemon & diff --git a/zsh/.aliases b/zsh/.aliases index 22c36de..1b76400 100644 --- a/zsh/.aliases +++ b/zsh/.aliases @@ -67,3 +67,7 @@ alias hist10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10' # Default xclip to use Ctrl-c/Ctrl-v clipboard alias xclip="xclip -selection c" alias :q="exit" + +# Emacs startup +alias emacs="emacsclient -c -n" +alias em="emacs" diff --git a/zsh/.zshrc b/zsh/.zshrc index 9425783..f593de1 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -56,7 +56,7 @@ zinit ice depth"1" ##git clone depth zinit light romkatv/powerlevel10k zinit ice wait lucid -zinit light MichaelAquilina/zsh-you-should-use +# zinit light MichaelAquilina/zsh-you-should-use zinit ice wait lucid zinit light laggardkernel/zsh-thefuck