forked from platformio/platformio-core
Rename "misc" command to "system", do not append completion code for Fish shell // Resolve 3435
This commit is contained in:
2
docs
2
docs
Submodule docs updated: bc9d81b1d3...2cd0dce683
@ -18,14 +18,14 @@ import subprocess
|
||||
import click
|
||||
|
||||
from platformio import proc
|
||||
from platformio.commands.misc.completion import (
|
||||
from platformio.commands.system.completion import (
|
||||
get_completion_install_path,
|
||||
install_completion_code,
|
||||
uninstall_completion_code,
|
||||
)
|
||||
|
||||
|
||||
@click.group("misc", short_help="Miscellaneous commands")
|
||||
@click.group("system", short_help="Miscellaneous system commands")
|
||||
def cli():
|
||||
pass
|
||||
|
@ -52,7 +52,7 @@ def install_completion_code(shell, path):
|
||||
if is_completion_code_installed(shell, path):
|
||||
return None
|
||||
|
||||
return click_completion.install(shell=shell, path=path)
|
||||
return click_completion.install(shell=shell, path=path, append=shell != "fish")
|
||||
|
||||
|
||||
def uninstall_completion_code(shell, path):
|
Reference in New Issue
Block a user