recommend reattach-to-user-namespace for OSX in health-check
This commit is contained in:
parent
b4f58df938
commit
70f914ecba
|
@ -158,6 +158,17 @@ function perform_health_check() {
|
||||||
healthy=0
|
healthy=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $(version_major "$TMUX_VERSION") -le "2" ]] && \
|
||||||
|
[[ $(version_minor "$TMUX_VERSION") -lt "6" ]] && \
|
||||||
|
[[ "$OSTYPE" == "darwin"* ]] && \
|
||||||
|
[[ $(program_exists "reattach-to-user-namespace") == "0" ]];
|
||||||
|
then
|
||||||
|
log_message " * It's recommended to install 'reattach-to-user-namespace' for better"
|
||||||
|
log_message " clipboard integration in OSX."
|
||||||
|
log_message " Please run 'brew install reattach-to-user-namespace'"
|
||||||
|
healthy=0
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $healthy -eq 0 ]]; then
|
if [[ $healthy -eq 0 ]]; then
|
||||||
while [[ $(is_tmux_ready) = 0 ]]; do
|
while [[ $(is_tmux_ready) = 0 ]]; do
|
||||||
: # waiting for-tmux
|
: # waiting for-tmux
|
||||||
|
|
Loading…
Reference in New Issue