mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
tmux: make session auto-completion user friendly
make it more user friendly by matching the output of: tmux list-sessions Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
This commit is contained in:
parent
c78c1427be
commit
6de30028a8
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue