commit d448838dc29ffbf1bdc675769925b866666e35bb
parent 2e250fef266a3dcc2574bd550b0e955eba4b4d57
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 4 Feb 2016 15:24:40 -0800
try single brackets
Diffstat:
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