|
|
|
@ -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 |
|
|
|
# hotfix |
|
|
|
# nohup script -q -c 'resh-daemon' ~/.resh/daemon_last_run_out.txt & |
|
|
|
gnohup resh-daemon > ~/.resh/daemon_last_run_out.txt 2>&1 & disown |
|
|
|
# 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() { |
|
|
|
|