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

fix tmux

parent 047f6334
No related branches found
No related tags found
No related merge requests found
Pipeline #27052 passed with warnings
...@@ -7,27 +7,20 @@ Tmux is installed on Karolina's login nodes. ...@@ -7,27 +7,20 @@ 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
#!/bin/bash
# download source code
wget https://ftp.gnu.org/gnu/screen/screen-4.9.0.tar.gz 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 tar xf screen-4.9.0.tar.gz && rm screen-4.9.0.tar.gz
cd screen-4.9.0 cd screen-4.9.0
# install screen
./autogen.sh ./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
# set up path
echo "export PATH=\$HOME/.local/screen/bin:\$PATH" >> $HOME/.bashrc echo "export PATH=\$HOME/.local/screen/bin:\$PATH" >> $HOME/.bashrc
# clean up
cd ../ && rm -rf screen-4.9.0 cd ../ && rm -rf screen-4.9.0
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment