Calmed the colors when using colorized plugin
As well as fixing the `emacsclient` calls.
This commit is contained in:
parent
40555ea625
commit
468f74086c
1 changed files with 13 additions and 6 deletions
19
zshell.org
19
zshell.org
|
|
@ -218,6 +218,13 @@ The [[https://github.com/zsh-users/zsh-syntax-highlighting][ZShell Syntax Highli
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Using the =colorize= plugin (see [[Plugins][plugins section below]]), we customize with this variable setting:
|
||||||
|
|
||||||
|
#+BEGIN_SRC zsh
|
||||||
|
export ZSH_COLORIZE_STYLE="coffee"
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
** Language Support
|
** Language Support
|
||||||
Anything special for particular languages.
|
Anything special for particular languages.
|
||||||
*** Python
|
*** Python
|
||||||
|
|
@ -446,7 +453,7 @@ Where be the =emacsclient=? It should, at this point, be in our path.
|
||||||
And how should we call it?
|
And how should we call it?
|
||||||
|
|
||||||
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
||||||
export EMACS="emacsclient --socket-name personal"
|
export EMACS_SOCKET_NAME=personal
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Which needs to be overwritten on my Work computer:
|
Which needs to be overwritten on my Work computer:
|
||||||
|
|
@ -454,15 +461,15 @@ Which needs to be overwritten on my Work computer:
|
||||||
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
||||||
if hostname | grep AL33 >/dev/null
|
if hostname | grep AL33 >/dev/null
|
||||||
then
|
then
|
||||||
export EMACS="emacsclient --socket-name work"
|
export EMACS_SOCKET_NAME=work
|
||||||
fi
|
fi
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
The =EDITOR= variable that some programs use to edit files from the command line:
|
The =EDITOR= variable that some programs use to edit files from the command line:
|
||||||
|
|
||||||
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
#+BEGIN_SRC zsh :tangle ~/.zshenv
|
||||||
export EDITOR="$EMACS --tty"
|
export EDITOR="emacsclient --tty"
|
||||||
export VISUAL="$EMACS --create-frame"
|
export VISUAL="emacsclient --create-frame"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
With these variables defined, we can create simple aliases:
|
With these variables defined, we can create simple aliases:
|
||||||
|
|
@ -470,8 +477,8 @@ With these variables defined, we can create simple aliases:
|
||||||
#+BEGIN_SRC zsh
|
#+BEGIN_SRC zsh
|
||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
alias te="$EDITOR"
|
alias te="$EDITOR"
|
||||||
alias ee="$EMACS --create-frame"
|
alias ee="emacsclient --create-frame"
|
||||||
alias eee="$EMACS --create-frame --no-wait"
|
alias eee="emacsclient --create-frame --no-wait"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Vterm
|
** Vterm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue