|
Bugzilla – Full Text Bug Listing |
| Summary: | cnf-rs is not compatible with fish | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Bruno Pitrus <brunopitrus> |
| Component: | Basesystem | Assignee: | Michal Vyskocil <michal.vyskocil> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | brunopitrus |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Hi, thanks for the report. I have double checked the original command not found handler and it does not provide fish integration at all. So I assume this works because of you configured the system as is. I am willing to add a fish integration into cnf-rs. However I have no clue how to do it. The bash integration is done via openSUSE /etc/bash.bashrc, which reads /etc/bash_command_not_found. Is there a similar machinery to use in a case of fish shell? scout-command-not-found works with fish out of the box. The integration is defined in /usr/share/fish/functions/fish_command_not_found.fish cnf-rs fails to provide the `command-not-found` binary which is the API fish uses. Added the compatibility symlink as a workaround and tested with fish.
michal@osc ~/p/v/o/u/cnf-rs> cmake
The program 'cmake' can be found in following packages:
* cmake-full [ path: /usr/bin/cmake, repository: repo-oss ]
* cmake-mini [ path: /usr/bin/cmake, repository: repo-oss ]
Try installing with:
sudo zypper install <selected_package>
Will submit an update
This is an autogenerated message for OBS integration: This bug (1215428) was mentioned in https://build.opensuse.org/request/show/1111957 Factory / cnf-rs This is an autogenerated message for OBS integration: This bug (1215428) was mentioned in https://build.opensuse.org/request/show/1112082 Factory / cnf-rs Already in Factory |
Since the switch from scout-command-not-found to cnf-rs, the CNF handler has stopped working with fish: Exammple: [fish] ╭─bruno at bruno-beit in ~ ╰─λ telnet fish: Unknown command: telnet [bash] bruno@bruno-beit:~$ telnet The program 'telnet' can be found in following packages: * busybox-telnet [ path: /usr/bin/telnet, repository: repo-oss ] * telnet [ path: /usr/bin/telnet, repository: repo-oss ] Try installing with: sudo zypper install <selected_package>