diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-08-31 04:12:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-08-31 04:12:52 -0300 |
commit | e4f01acf75b328287c9c0becb3ef91a09ebfb5bc (patch) | |
tree | 7f64bcb0af9472ba572a213616e522c1a729ff9b | |
parent | 1d3a4b8cf936e0fc48c96bd3ae415b4a84fb17a2 (diff) | |
download | termplex-e4f01acf75b328287c9c0becb3ef91a09ebfb5bc.tar.gz termplex-e4f01acf75b328287c9c0becb3ef91a09ebfb5bc.tar.bz2 |
Error redirection on tmux ls
-rwxr-xr-x | shell | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ function shell_wscreen_ls { # Check if a named session exists, tmux version function shell_wtmux_ls { - tmux ls | grep -q ^$1: + tmux ls 2> /dev/null | grep -q ^$1: } # Try tmux, then screen |