diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2013-04-05 00:11:27 -0500 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-12 14:03:26 -0700 |
commit | 953e7fd717bfdb49c2682c7491a97a368dd7369e (patch) | |
tree | a6a220f50af5ff1e0ae10a6160b9ac660d6508c5 /share | |
parent | 1ae08cfedfa06158bcf1d72a1d30d30da0dc6654 (diff) |
tmux: implement Status Line
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/tmux.fish | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/share/completions/tmux.fish b/share/completions/tmux.fish index 15d2681a..14060877 100644 --- a/share/completions/tmux.fish +++ b/share/completions/tmux.fish @@ -183,9 +183,19 @@ complete -c tmux -xs t -n "__fish_seen_subcommand_from $showenv" -a '(__fish_tmu ############### End: Environment ############### ############### Begin: Status Line ############### -#TODO - these commands are not currently implemented. -#there is a section in the tmux man page that has the same title as this section -#use the "Clients and Sessions" code as an example when implementing this +set -l commandprompt 'command-prompt' +set -l display 'display-message display' + +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 ############### ############### Begin: Buffers ############### |