Adding shell alias for 'em' to be 'emacsclient -nw'

This commit is contained in:
Derek Taylor
2026-03-23 15:19:03 -05:00
parent 67b382a1ac
commit 79efe4efaa
4 changed files with 11 additions and 11 deletions

View File

@@ -183,7 +183,7 @@ alias .5='cd ../../../../..'
# vim and emacs # vim and emacs
alias vim="nvim" alias vim="nvim"
alias emacs="emacsclient -c -a 'emacs'" # GUI versions of Emacs alias emacs="emacsclient -c -a 'emacs'" # GUI versions of Emacs
alias em="/usr/bin/emacs -nw" # Terminal version of Emacs alias em="/usr/bin/emacsclient -nw" # Terminal version of Emacs
alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon.. alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon..
# Changing "ls" to "eza" # Changing "ls" to "eza"

View File

@@ -616,14 +616,14 @@
(eval-after-load 'org-indent '(diminish 'org-indent-mode)) (eval-after-load 'org-indent '(diminish 'org-indent-mode))
(custom-set-faces (custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.7)))) '(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6)))) '(org-level-2 ((t (:inherit outline-2 :height 1.6))))
'(org-level-3 ((t (:inherit outline-3 :height 1.5)))) '(org-level-3 ((t (:inherit outline-3 :height 1.5))))
'(org-level-4 ((t (:inherit outline-4 :height 1.4)))) '(org-level-4 ((t (:inherit outline-4 :height 1.4))))
'(org-level-5 ((t (:inherit outline-5 :height 1.3)))) '(org-level-5 ((t (:inherit outline-5 :height 1.3))))
'(org-level-6 ((t (:inherit outline-5 :height 1.2)))) '(org-level-6 ((t (:inherit outline-5 :height 1.2))))
'(org-level-7 ((t (:inherit outline-5 :height 1.1))))) '(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
(require 'org-tempo) (require 'org-tempo)

View File

@@ -153,7 +153,7 @@ alias .5='cd ../../../../..'
# vim and emacs # vim and emacs
alias vim='nvim' alias vim='nvim'
alias emacs="emacsclient -c -a 'emacs'" alias emacs="emacsclient -c -a 'emacs'"
alias em='/usr/bin/emacs -nw' alias em='/usr/bin/emacsclient -nw'
alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon.. alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon..
# Changing "ls" to "eza" # Changing "ls" to "eza"

2
.zshrc
View File

@@ -157,7 +157,7 @@ up () {
# vim and emacs # vim and emacs
alias vim="nvim" alias vim="nvim"
alias emacs="emacsclient -c -a 'emacs'" # GUI versions of Emacs alias emacs="emacsclient -c -a 'emacs'" # GUI versions of Emacs
alias em="/usr/bin/emacs -nw" # Terminal version of Emacs alias em="/usr/bin/emacsclient -nw" # Terminal version of Emacs
alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon.. alias rem="killall emacs || echo 'Emacs server not running'; /usr/bin/emacs --daemon" # Kill Emacs and restart daemon..
# Changing "ls" to "eza" # Changing "ls" to "eza"