install-tig-with-wide-char

install ncurses

1
2
3
4
5
6
curl -OJL https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
tar xf ncurses-6.2.tar.gz
cd ncurses-6.2/

./configure --prefix=$HOME/.local/ --enable-widec
make && make install

install tig

1
2
3
4
5
6
curl -OJL https://github.com/jonas/tig/releases/download/tig-2.5.1/tig-2.5.1.tar.gz
tar xf tig-2.5.1.tar.gz
cd tig-2.5.1/

./configure LDFLAGS="-L$HOME/.local/lib" CPPFLAGS="-I$HOME/.local/include"
make

copy src/tig to $HOME/.local/bin