diff --git a/share/completions/tmux.fish b/share/completions/tmux.fish index 85811d0b1..ea3349381 100644 --- a/share/completions/tmux.fish +++ b/share/completions/tmux.fish @@ -1,5 +1,5 @@ function __fish_tmux_sessions --description 'available sessions' - tmux list-sessions -F "#S #{session_windows} windows Created: #{session_created_string} [#{session_width}x#{session_height}] Attached=#{session_attached}" ^/dev/null + tmux list-sessions -F "#S #{session_windows} windows created: #{session_created_string} [#{session_width}x#{session_height}]#{session_attached}" | sed 's/0$//;s/1$/ (attached)/' ^/dev/null end function __fish_tmux_clients --description 'connected clients'