Skip to content

Commit

Permalink
hotfix macos
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Dec 18, 2019
1 parent e3c64d4 commit 6be18e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6be18e7

Please sign in to comment.