Skip to content

Commit 4b44f28

Browse files
committed
wip
1 parent affd8e3 commit 4b44f28

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

structkit/commands/completion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _install(self, args):
3333
print("python -m pip install shtab")
3434
print("\n# Generate static bash completion for 'struct':")
3535
print("mkdir -p ~/.local/share/bash-completion/completions")
36-
print("structkit --print-completion bash > ~/.local/share/bash-completion/completions/struct")
36+
print("structkit --print-completion bash > ~/.local/share/bash-completion/completions/structkit")
3737
print("\n# Apply now (or open a new shell):")
3838
print("source ~/.bashrc")
3939

@@ -42,7 +42,7 @@ def _install(self, args):
4242
print("python -m pip install shtab")
4343
print("\n# Generate static zsh completion for 'struct':")
4444
print("mkdir -p ~/.zfunc")
45-
print("structkit --print-completion zsh > ~/.zfunc/_struct")
45+
print("structkit --print-completion zsh > ~/.zfunc/_structkit")
4646
print("\n# Ensure zsh loads user functions/completions (append to ~/.zshrc if needed):")
4747
print('echo "fpath=(~/.zfunc $fpath)" >> ~/.zshrc')
4848
print('echo "autoload -U compinit && compinit" >> ~/.zshrc')
@@ -54,9 +54,9 @@ def _install(self, args):
5454
print("python -m pip install shtab")
5555
print("\n# Generate static fish completion for 'struct':")
5656
print('mkdir -p ~/.config/fish/completions')
57-
print('structkit --print-completion fish > ~/.config/fish/completions/struct.fish')
57+
print('structkit --print-completion fish > ~/.config/fish/completions/structkit.fish')
5858
print("\n# Apply now:")
59-
print("fish -c 'source ~/.config/fish/completions/struct.fish'")
59+
print("fish -c 'source ~/.config/fish/completions/structkit.fish'")
6060

6161
else:
6262
self.logger.error(f"Unsupported shell: {shell}. Supported: {', '.join(SUPPORTED_SHELLS)}")

0 commit comments

Comments
 (0)