← Back to issue list

Support snap installed completion scripts

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1590767
Type
issue
State
closed
Author
~sergiusens
Labels
isv lxd
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Abandoned. The request to automatically source bash completion scripts from snap packages was closed without implementation or discussion.

Suggested action:

No scores available.

Issue body

I have just published a new snap named "tio" which includes a bash completion script but the completion script is not picked up on and enabled by the system once installed. The completion script gets installed in /snap/tio/current/usr/share/bash-completion/completions/tio This of course differs from the conventional install location and hence the script is not sourced. How do we safely enable sourcing of snap installed bash completion scripts?

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. The request to automatically source bash completion scripts from snap packages was closed without implementation or discussion.
qwen/qwen3.6-35b-a3b Closed without implementation. The request to automatically source bash completion scripts from non-standard snap paths received no discussion or resolution.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution or discussion. The request to automatically source bash completion scripts from snap packages remains unaddressed and appears abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1689578 Lack of shell completion installation support for command line apps snapcraft (launchpad) closed Closed without implementation or discussion. The feature request for automatic shell completion installation in snaps remains unaddressed.
74%
#1646213 Code completion for *.snap on the cli is broken snapcraft (launchpad) closed The .snap CLI completion bug was closed without comments or a documented fix, indicating it was likely abandoned. The report noted that _filedir "*.snap" incorrectly restricted tab completion to files matching *.*.snap.
71%
#1630922 Bash completion for "push" is incomplete snapcraft (launchpad) closed Reported incomplete bash completion for snapcraft push, missing *.snap files and the --release flag. Closed with zero comments after over nine years, indicating the report was abandoned or superseded without a fix.
71%
#872 Add some further bash-completion snapcraft merged Merged pull request adding bash completion for snapcraft commands. Maintainer noted pip data_files is deprecated and snap completion requires future core team feature work.
70%