Skip to content
Snippets Groups Projects
Verified Commit 047f6334 authored by Jakub Kropáček's avatar Jakub Kropáček
Browse files

fix tmux docs

parent 4f4858f0
No related branches found
No related tags found
No related merge requests found
Pipeline #27051 passed with warnings
...@@ -7,16 +7,28 @@ Tmux is installed on Karolina's login nodes. ...@@ -7,16 +7,28 @@ Tmux is installed on Karolina's login nodes.
Note that [GNU Screen][2] is not supported, but if you prefer it, you can install it in your `/home` folder: Note that [GNU Screen][2] is not supported, but if you prefer it, you can install it in your `/home` folder:
```console ```console
wget https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz #!/bin/bash
tar xf screen-4.8.0.tar.gz && rm screen-4.8.0.tar.gz
cd screen-4.8.0 # download source code
wget https://ftp.gnu.org/gnu/screen/screen-4.9.0.tar.gz
tar xf screen-4.9.0.tar.gz && rm screen-4.9.0.tar.gz
cd screen-4.9.0
# install screen
./autogen.sh
./configure --prefix=$HOME/.local/screen ./configure --prefix=$HOME/.local/screen
make make
make install make install
# copy over default etc
mkdir $HOME/.local/screen/etc mkdir $HOME/.local/screen/etc
cp etc/etcscreenrc $HOME/.local/screen/etc/screenrc cp etc/etcscreenrc $HOME/.local/screen/etc/screenrc
echo "export PATH=$HOME/.local/screen/bin:$PATH" >> $HOME/.bashrc
cd ../ && rm -rf screen-4.8.0 # set up path
echo "export PATH=\$HOME/.local/screen/bin:\$PATH" >> $HOME/.bashrc
# clean up
cd ../ && rm -rf screen-4.9.0
``` ```
[1]: https://github.com/tmux/tmux/wiki [1]: https://github.com/tmux/tmux/wiki
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment