hotfix macos

pull/58/head v2.4.6
Simon Let 6 years ago
parent e3c64d4384
commit 6be18e7fd3
  1. 10
      scripts/util.sh

@ -43,12 +43,12 @@ __resh_run_daemon() {
if [ -n "${ZSH_VERSION-}" ]; then if [ -n "${ZSH_VERSION-}" ]; then
setopt LOCAL_OPTIONS NO_NOTIFY NO_MONITOR setopt LOCAL_OPTIONS NO_NOTIFY NO_MONITOR
fi fi
if [ "$(uname)" = Darwin ]; then # if [ "$(uname)" = Darwin ]; then
# needs testing # # needs testing
nohup script -q -c 'resh-daemon' ~/.resh/daemon_last_run_out.txt & # nohup script -q -c 'resh-daemon' ~/.resh/daemon_last_run_out.txt &
else # else
setsid resh-daemon > ~/.resh/daemon_last_run_out.txt 2>&1 & disown setsid resh-daemon > ~/.resh/daemon_last_run_out.txt 2>&1 & disown
fi #fi
} }
__resh_bash_completion_init() { __resh_bash_completion_init() {

Loading…
Cancel
Save