From cbd2009bb5ec4eff74d01a6263de51230fd5be18 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 2 Jan 2019 23:32:37 +1300 Subject: Use short switches for emacs server pgrep Turns out the pgrep from procps version 3.2.8 doesn't support these longer options. --- sh/profile.d/visual.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sh/profile.d/visual.sh b/sh/profile.d/visual.sh index 359bf13a..899437af 100644 --- a/sh/profile.d/visual.sh +++ b/sh/profile.d/visual.sh @@ -5,8 +5,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 --exact --full --euid="$USER" \ - 'emacs --daemon' >/dev/null || + pgrep -fxu "$USER" 'emacs --daemon' >/dev/null || emacs --daemon >/dev/null ; then VISUAL=emacsclient -- cgit v1.2.3 From b751e29a467219a9b90bfc89d6788ac26a1c8519 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 2 Jan 2019 23:33:24 +1300 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0666ce00..3a5682ba 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v4.5.0 -Wed Jan 2 10:29:09 UTC 2019 +tejr dotfiles v4.5.1 +Wed Jan 2 10:33:20 UTC 2019 -- cgit v1.2.3