@@ -11,17 +11,18 @@ import (
1111// completionCmd represents the completion command
1212var completionCmd = & cobra.Command {
1313 Use : "completion [shell]" ,
14- Short : "Generates the shell autocompletion [bash, elvish, fish, powershell, xonsh, zsh]" ,
15- Long : `Generates the shell autocompletion [bash, elvish, fish, powershell, xonsh, zsh]
14+ Short : "Generates the shell autocompletion [bash, elvish, fish, oil, powershell, xonsh, zsh]" ,
15+ Long : `Generates the shell autocompletion [bash, elvish, fish, oil, powershell, xonsh, zsh]
1616
1717Scripts can be directly sourced (though using pre-generated versions is recommended to avoid shell startup delay):
1818 bash : source <(lab completion)
1919 elvish : eval(lab completion|slurp)
20- fish : lab completion fish | source
20+ fish : lab completion | source
21+ oil : source <(lab completion)
2122 powershell : lab completion | Out-String | Invoke-Expression
2223 xonsh : exec($(lab completion))
2324 zsh : source <(lab completion)` ,
24- ValidArgs : []string {"bash" , "elvish" , "fish" , "powershell" , "xonsh" , "zsh" },
25+ ValidArgs : []string {"bash" , "elvish" , "fish" , "oil" , " powershell" , "xonsh" , "zsh" },
2526 Run : func (cmd * cobra.Command , args []string ) {
2627 shell := ""
2728 if len (args ) > 0 {
0 commit comments