dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit fc6582b9e26929d704e843448fd8e29630b63f8f
parent 81b65359533b4fdee274947006fe597bd26195ec
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Wed,  3 Feb 2016 21:43:51 -0800

fix daemon check logic

Diffstat:
M.zshrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.zshrc b/.zshrc @@ -59,7 +59,7 @@ function tnew { tmux new-session -As `basename $PWD` } # Start emacs daemon if it is not running, then attach client function e () { - if [[ $(pgrep emacs --daemon) ]]; then + if [[ ! $(pgrep emacs --daemon) ]]; then echo starting emacs daemon emacsdaemonlog=~/.emacs-daemon.log [ -f ~/.emacs-daemon.log ] && rm $emacsdaemonlog # delete old logfile