tmux: implement Status Line

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
This commit is contained in:
Greg Dietsche 2013-04-05 00:11:27 -05:00 committed by ridiculousfish
parent 1ae08cfedf
commit 953e7fd717

View file

@ -183,9 +183,19 @@ complete -c tmux -xs t -n "__fish_seen_subcommand_from $showenv" -a '(__fish_tmu
############### End: Environment ############### ############### End: Environment ###############
############### Begin: Status Line ############### ############### Begin: Status Line ###############
#TODO - these commands are not currently implemented. set -l commandprompt 'command-prompt'
#there is a section in the tmux man page that has the same title as this section set -l display 'display-message display'
#use the "Clients and Sessions" code as an example when implementing this
complete -c tmux -n '__fish_use_subcommand' -a $commandprompt -d 'Open the command prompt in a client'
complete -c tmux -n "__fish_seen_subcommand_from $commandprompt" -s I -x -d 'Comma-separated list of initial text for each prompt'
complete -c tmux -n "__fish_seen_subcommand_from $commandprompt" -s p -x -d 'Comma-separated list of prompts'
complete -c tmux -n "__fish_seen_subcommand_from $commandprompt" -s t -xa '(__fish_tmux_clients)' -d 'target-client'
complete -c tmux -n '__fish_use_subcommand' -a $display -d 'Display a message'
complete -c tmux -n "__fish_seen_subcommand_from $display" -s p -d 'print to stdout'
complete -c tmux -n "__fish_seen_subcommand_from $display" -s t -xa '(__fish_tmux_panes)' -d 'target-pane'
complete -c tmux -n "__fish_seen_subcommand_from $display" -s c -xa '(__fish_tmux_clients)' -d 'target-client'
############### End: Status Line ############### ############### End: Status Line ###############
############### Begin: Buffers ############### ############### Begin: Buffers ###############