[emacs] Cleanup a bit the env var assignments

master
Jacopo De Simoi 3 years ago
parent 6f2ccfc6ba
commit 5f23e34ff5
  1. 25
      zshrc.org

@ -226,11 +226,21 @@ Underscore filename
} }
#+end_src #+end_src
*** emacs helpers :daily:pi: *** emacs helpers :daily:pi:
#+begin_src sh Here we take care of setting up the emacs workflow
SOLARIZED="true" **** Emacs aliases for the pi :pi:
#+begin_src sh
export EMACS="emacsclient" export EMACS="emacsclient"
export EMACS_DEF_ARGUMENTS="--alternate-editor=emacs" export EMACS_DEF_ARGUMENTS="--alternate-editor=emacs"
#+end_src
**** specialized helper for the daily box :daily:
#+begin_src sh
export EMACS="/home/jacopods/.emacs.d/emacsclient-activities"
export EMACS_DEF_ARGUMENTS=""
#+end_src
**** Define the eca function :daily:pi:
#+begin_src sh
# Emacs stuff # Emacs stuff
SOLARIZED="true"
eca() eca()
{ {
if [[ "$SSH_CONNECTION" != '' ]]; then if [[ "$SSH_CONNECTION" != '' ]]; then
@ -251,7 +261,6 @@ Underscore filename
#+end_src #+end_src
**** mu4e + agenda :daily: **** mu4e + agenda :daily:
#+begin_src sh #+begin_src sh
μ() { μ() {
eca -e "(mu4e)" eca -e "(mu4e)"
} }
@ -264,12 +273,8 @@ Underscore filename
kill-emacs() { kill-emacs() {
eca -e "(kill-emacs)" eca -e "(kill-emacs)"
} }
#+end_src #+end_src
**** specialized helper for the daily box :daily:
#+begin_src sh
export EMACS="/home/jacopods/.emacs.d/emacsclient-activities"
export EMACS_DEF_ARGUMENTS=""
#+end_src
*** oh-my-zsh setup :daily:pi:android: *** oh-my-zsh setup :daily:pi:android:
#+begin_src sh #+begin_src sh
# Path to your oh-my-zsh configuration. # Path to your oh-my-zsh configuration.
@ -386,8 +391,6 @@ further reference
*** TODO editor env variables :daily: *** TODO editor env variables :daily:
This needs to be diff'd among the versions This needs to be diff'd among the versions
#+begin_src sh #+begin_src sh
# editor stuff
export EDITOR="$EMACS -n" export EDITOR="$EMACS -n"
export VISUAL=$EDITOR export VISUAL=$EDITOR
export GIT_EDITOR=$EMACS export GIT_EDITOR=$EMACS

Loading…
Cancel
Save