Tag Archives: regular expressions

Bash script for selecting tmux session

Problem You want to list and select from several available tmux sessions Solution If necessary, install iselect: sudo apt-get install iselect Create an executable script called tsel: #!/usr/bin/env bash CHOICE=`tmux ls | iselect -a` [[ ${#CHOICE} == 0 ]] && … Continue reading

Posted in Computers | Tagged , , , , | Leave a comment