diff --git a/document/linux/config/bash/module/tmux.sh b/document/linux/config/bash/module/tmux.sh index a9aa54d..5903c6f 100644 --- a/document/linux/config/bash/module/tmux.sh +++ b/document/linux/config/bash/module/tmux.sh @@ -51,7 +51,7 @@ tka() # autocompletes. _ta() { - _autocomplete_first "$(tmux list-sessions | sed -e 's/:.*//')" + _autocomplete_first "$(tmux list-sessions 2> /dev/null | sed -e 's/:.*//')" } complete -F _ta ta tk