tmux-fingers/docs/health-check.md

61 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2017-04-02 19:51:19 +02:00
# Health check troubleshooting
2018-11-08 09:27:53 +01:00
`health-check.sh` performs a checks to ensure that your system has all dependencies needed to run smoothly.
2017-04-02 19:51:19 +02:00
They are not much, and in most GNU/linux environments these are the defaults anyway.
2018-11-08 09:27:53 +01:00
To run the check you need to run the following command.
`$ /path/to/tmux-fingers/scripts/health-check.sh`
2017-04-02 19:51:19 +02:00
## gawk not found
2021-11-16 19:57:31 +01:00
Install `gawk` package and reload your tmux.conf.
2017-04-02 19:51:19 +02:00
### OSX
2021-11-16 19:57:31 +01:00
```
$ brew install gawk && tmux source ~/.tmux.conf
```
2017-04-02 19:51:19 +02:00
### Linux
2021-11-16 19:57:31 +01:00
* Ubuntu: `$ sudo aptitude install gawk && tmux source ~/.tmux.conf`
* Arch linux: `$ sudo pacman -S install gawk && tmux source ~/.tmux.conf`
2017-04-02 19:51:19 +02:00
## bash version is too old
This probably means you are running OSX, which ships with *bash 3*. In order to upgrade to *bash 4* you need need to run:
`$ brew install bash`
## tmux version is too old
You can install latest *tmux* from source, check https://github.com/tmux/tmux
2017-04-07 08:29:13 +02:00
2017-10-06 18:49:03 +02:00
## Wrong $TERM value
Tmux fingers works better with proper 256 support. Set `@default-terminal` to either `screen-256color` or `xterm-256color`.
```
set -g @default-terminal "screen-256color"
```
2017-10-08 18:56:17 +02:00
## submodules not initialized properly
This could happen after an update from a tmux-fingers version prior to 0.6.x,
ensure that all tmux-fingers dependencies are installed properly by running the
following:
```
cd ~/.tmux/plugins/tmux-fingers
git submodule update --init --recursive"
tmux source ~/.tmux.conf"
```
## system clipboard integration
2017-10-08 18:56:17 +02:00
In order for system clipboard integration to work, you need to have program in your system that manages that.
2017-10-08 18:56:17 +02:00
Check [tmux-yank documentation](https://github.com/tmux-plugins/tmux-yank#requirements) to check what program do you need to install, depending on your platform.