From 283b81fe5c2f0f6e7ab473285b859ab1d6fbe183 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Fri, 17 Sep 2021 07:59:09 +0000
Subject: [PATCH] Update emacs config if installed
---
all-shells/.commonshell | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index a48c93e..51e30cc 100644
--- a/all-shells/.commonshell
+++ b/all-shells/.commonshell
@@ -36,3 +36,7 @@
export DISPLAY=$(ip route | awk '{print $3; exit}'):0
export LIBGL_ALWAYS_INDIRECT=1
fi
+
+# Update dotfiles
+(git -C ~/.dotfiles pull &) &>/dev/null
+[ -d ~/.emacs.d ] && (git -C ~/.emacs.d pull &) &>/dev/null
--
Gitblit v1.10.0