fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMerge pull request #11629 ("Add completions for tmuxp")9e628995d

master
4.1 KiB52 linesraw
1function __fish_tmuxp_ls
2    tmuxp ls 2>/dev/null
3end
4
5complete -c tmuxp -f
6complete -c tmuxp -s h -l help -d Help
7complete -c tmuxp -s V -l version -d Version
8complete -c tmuxp -l log-level -x -a "debug info warning error critical" -d "Log level"
9complete -c tmuxp -n __fish_use_subcommand -a load -d "Load tmuxp workspace"
10complete -c tmuxp -n __fish_use_subcommand -a shell -d "Launch python shell"
11complete -c tmuxp -n __fish_use_subcommand -a import -d "Import workspace"
12complete -c tmuxp -n __fish_use_subcommand -a convert -d "Convert workspace"
13complete -c tmuxp -n __fish_use_subcommand -a debug-info -d "Print diagnostics"
14complete -c tmuxp -n __fish_use_subcommand -a ls -d "List workspaces"
15complete -c tmuxp -n __fish_use_subcommand -a edit -d "Edit workspace"
16complete -c tmuxp -n __fish_use_subcommand -a freeze -d "Freeze session to worskpace"
17complete -c tmuxp -n "__fish_seen_subcommand_from load" -a "(__fish_tmuxp_ls)"
18complete -c tmuxp -n "__fish_seen_subcommand_from load" -s L -r -F -d "Passthru to tmux -L"
19complete -c tmuxp -n "__fish_seen_subcommand_from load" -s S -r -F -d "Passthru to tmux -S"
20complete -c tmuxp -n "__fish_seen_subcommand_from load" -s f -r -F -d "Passthru to tmux -f"
21complete -c tmuxp -n "__fish_seen_subcommand_from load" -s s -r -d "Session name"
22complete -c tmuxp -n "__fish_seen_subcommand_from load" -s d -d "Detached session"
23complete -c tmuxp -n "__fish_seen_subcommand_from load" -s a -r -d "Attach current windows to session"
24complete -c tmuxp -n "__fish_seen_subcommand_from load" -s y -l yes -d "Always answer yes"
25complete -c tmuxp -n "__fish_seen_subcommand_from load" -s 2 -d "Assume 256 color support"
26complete -c tmuxp -n "__fish_seen_subcommand_from load" -s 8 -d "Assume 88 color support"
27complete -c tmuxp -n "__fish_seen_subcommand_from load" -l log-file -r -F -d "Log file path"
28complete -c tmuxp -n "__fish_seen_subcommand_from import" -a "teamocil tmuxinator"
29complete -c tmuxp -n "__fish_seen_subcommand_from convert" -s y -l yes -d "Always answer yes"
30complete -c tmuxp -n "__fish_seen_subcommand_from convert" -r -F
31complete -c tmuxp -n "__fish_seen_subcommand_from edit" -a "(__fish_tmuxp_ls)"
32complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s L -r -F -d "Passthru to tmux -L"
33complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s S -r -F -d "Passthru to tmux -S"
34complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s f -l worskpace-format -x -a "json yaml" -d "File format"
35complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s o -l save-to -r -F -d "Output file"
36complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s y -l yes -d "Always answer yes"
37complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -s q -l quiet -d "Do not prompt for confirmation"
38complete -c tmuxp -n "__fish_seen_subcommand_from freeze" -l force -d "Overwrite existing file"
39complete -c tmuxp -n "__fish_seen_subcommand_from shell" -s L -r -F -d "Passthru to tmux -L"
40complete -c tmuxp -n "__fish_seen_subcommand_from shell" -s S -r -F -d "Passthru to tmux -S"
41complete -c tmuxp -n "__fish_seen_subcommand_from shell" -s c -r -d "Run code and exit"
42complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l best -d "Use best shell available"
43complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l pdb -d "Use pdb"
44complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l code -d "Use code.interact()"
45complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l ptipython -d "Use ptpython+ipython"
46complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l ptpython -d "Use ptpython"
47complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l ipython -d "Use ipython"
48complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l bpython -d "Use bpython"
49complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l use-pythonrc -d "Load ~/.pythonrc.py"
50complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l no-startup -d "Do not load ~/.pythonrc.py"
51complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l use-vi-mode -d "Use vi input mode"
52complete -c tmuxp -n "__fish_seen_subcommand_from shell" -l no-vi-mode -d "Do not use vi input mode"