add missing tmux new-session flags to tmux completion script

This commit is contained in:
Varun Arora 2019-01-08 22:12:17 -06:00 committed by Fabian Homborg
parent 9743cd77d3
commit 89d77df658

View file

@ -75,8 +75,15 @@ complete -c tmux -n '__fish_use_subcommand' -a $locks -d 'lock session'
complete -c tmux -n '__fish_use_subcommand' -a $new -d 'create a new session with name session-name' complete -c tmux -n '__fish_use_subcommand' -a $new -d 'create a new session with name session-name'
complete -c tmux -n "__fish_seen_subcommand_from $new" -s d -d "don't attach to current window" complete -c tmux -n "__fish_seen_subcommand_from $new" -s d -d "don't attach to current window"
complete -c tmux -n "__fish_seen_subcommand_from $new" -s A -d "attach to existing session if session-name already exists"
complete -c tmux -n "__fish_seen_subcommand_from $new" -s D -d "if -A is specified, detach other clients attached to the session if it exists"
complete -c tmux -n "__fish_seen_subcommand_from $new" -s P -d "print information about the new session after creation"
complete -c tmux -n "__fish_seen_subcommand_from $new" -s E -d "don't apply update-environment option"
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs c -d 'start-directory'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs F -d 'format'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs n -d 'window-name' complete -c tmux -n "__fish_seen_subcommand_from $new" -xs n -d 'window-name'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs s -d 'session-name' complete -c tmux -n "__fish_seen_subcommand_from $new" -xs s -d 'session-name'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs t -d 'group-name'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs x -d 'width' complete -c tmux -n "__fish_seen_subcommand_from $new" -xs x -d 'width'
complete -c tmux -n "__fish_seen_subcommand_from $new" -xs y -d 'height' complete -c tmux -n "__fish_seen_subcommand_from $new" -xs y -d 'height'