Change file open commands

main
Thomas Ba. 4 years ago
parent fe70aa9e24
commit 0e4dc62fd5

@ -27,7 +27,8 @@ whothefuckisusingport() {
# functions
function tm() {
NUM="$(\tmux ls 2>/dev/null|wc -l)"
OUT="$(\tmux ls 2>/dev/null)"
NUM="$(echo "$OUT" | wc -l)"
if [ "$NUM" -eq 0 ] ; then
\tmux -2
elif [ "$NUM" -eq 1 ] ; then

Loading…
Cancel
Save