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

Loading…
Cancel
Save