From 6be18e7fd35c57a0131e0f246bdf1c8f03f45f8f Mon Sep 17 00:00:00 2001 From: Simon Let Date: Wed, 18 Dec 2019 16:41:04 +0100 Subject: [PATCH] hotfix macos --- scripts/util.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/util.sh b/scripts/util.sh index 3c1a747..3ac236a 100644 --- a/scripts/util.sh +++ b/scripts/util.sh @@ -43,12 +43,12 @@ __resh_run_daemon() { if [ -n "${ZSH_VERSION-}" ]; then setopt LOCAL_OPTIONS NO_NOTIFY NO_MONITOR fi - if [ "$(uname)" = Darwin ]; then - # needs testing - nohup script -q -c 'resh-daemon' ~/.resh/daemon_last_run_out.txt & - else + # if [ "$(uname)" = Darwin ]; then + # # needs testing + # nohup script -q -c 'resh-daemon' ~/.resh/daemon_last_run_out.txt & + # else setsid resh-daemon > ~/.resh/daemon_last_run_out.txt 2>&1 & disown - fi + #fi } __resh_bash_completion_init() {