aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-02 23:38:29 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-02 23:38:29 +1300
commit8fd20b0d7a9137ed5cc9228648b6879918681d70 (patch)
treeb03bf1db222cac7256b737a228c2538256ce8899 /sh/profile.d
parentdbfdeba212b5fa194780746eed842a36ef590f9c (diff)
downloaddotfiles-8fd20b0d7a9137ed5cc9228648b6879918681d70.tar.gz
dotfiles-8fd20b0d7a9137ed5cc9228648b6879918681d70.zip
Block stderr from emacs daemon startup
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/visual.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/visual.sh b/sh/profile.d/visual.sh
index 899437af..f79158b8 100644
--- a/sh/profile.d/visual.sh
+++ b/sh/profile.d/visual.sh
@@ -6,7 +6,7 @@ if command -v emacs >/dev/null 2>&1 &&
# Use or start a GNU Emacs client, if possible
if command -v pgrep >/dev/null 2>&1 &&
pgrep -fxu "$USER" 'emacs --daemon' >/dev/null ||
- emacs --daemon >/dev/null ; then
+ emacs --daemon 2>/dev/null ; then
VISUAL=emacsclient
# If no GNU Emacs daemon is available, just create a new instance every