made perl's Time::HiRes a strong requirement, resolves #739
This commit is contained in:
parent
03c9f40e6b
commit
8e3b90c6c8
2 changed files with 4 additions and 1 deletions
|
@ -1675,6 +1675,9 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
||||||
# if ! command -v perl > /dev/null 2>&1; then
|
# if ! command -v perl > /dev/null 2>&1; then
|
||||||
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl" \; set -u display-time \; run "sleep 3" \; kill-server'
|
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl" \; set -u display-time \; run "sleep 3" \; kill-server'
|
||||||
# return
|
# return
|
||||||
|
# if ! perl -MTime::HiRes -e1 > /dev/null 2>&1; then
|
||||||
|
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl Time::HiRes" \; set -u display-time \; run "sleep 3" \; kill-server'
|
||||||
|
# fi
|
||||||
# fi
|
# fi
|
||||||
# if ! command -v sed > /dev/null 2>&1; then
|
# if ! command -v sed > /dev/null 2>&1; then
|
||||||
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires sed" \; set -u display-time \; run "sleep 3" \; kill-server'
|
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires sed" \; set -u display-time \; run "sleep 3" \; kill-server'
|
||||||
|
|
|
@ -11,7 +11,7 @@ Installation
|
||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
- tmux **`>= 2.6`** running inside Linux, Mac, OpenBSD, Cygwin or WSL
|
- tmux **`>= 2.6`** running inside Linux, Mac, OpenBSD, Cygwin or WSL
|
||||||
- awk, perl and sed
|
- awk, perl (with Time::HiRes support) and sed
|
||||||
- outside of tmux, `$TERM` must be set to `xterm-256color`
|
- outside of tmux, `$TERM` must be set to `xterm-256color`
|
||||||
|
|
||||||
⚠️ Before installing, you may want to backup your existing configuration.
|
⚠️ Before installing, you may want to backup your existing configuration.
|
||||||
|
|
Loading…
Reference in a new issue