Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41225 - [fish] should optionally depend on [which] package
Attached to Project:
Community Packages
Opened by Eric Mrak (sxtynnmach1) - Wednesday, 16 July 2014, 20:57 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 23 July 2014, 21:21 GMT
Opened by Eric Mrak (sxtynnmach1) - Wednesday, 16 July 2014, 20:57 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 23 July 2014, 21:21 GMT
|
DetailsDescription:
The fish built-in `type` function delegates to `/usr/bin/which` for finding system programs. It should be listed as an optional dependency for command lookups. Steps to reproduce: 1. Install the fish package (any architecture). 2. Uninstall (if installed) the [which] package. 3. Open an interactive fish shell 4. execute `type grep` or `type <command>` where <command> is any system command in your PATH. 5. You should receive output along the following: ============================================================================= /usr/share/fish/functions/type.fish (line 3): which $i ^/dev/null ^ in command substitution called on line 120 of file “/usr/share/fish/functions/type.fish”, in function “type”, called on standard input, with parameter list “-p command-not-found” in function “__fish_command_not_found_setup”, called on line 3 of file “/usr/share/fish/functions/type.fish”, with parameter list “which” in event handler: handler for generic event “fish_command_not_found” /usr/share/fish/functions/type.fish (line 3): which gettext ^/dev/null ^ in command substitution called on line 8 of file “/usr/share/fish/functions/type.fish”, in . (source) call of file “/usr/share/fish/functions/_.fish”, called on line 11 of file “/usr/share/fish/functions/type.fish”, in command substitution called on line 3 of file “/usr/share/fish/functions/type.fish”, in command substitution called on line 140 of file “/usr/share/fish/functions/type.fish”, in function “type”, called on standard input, with parameter list “-p command-not-found” in function “__fish_command_not_found_setup”, called on line 3 of file “/usr/share/fish/functions/type.fish”, with parameter list “which” in event handler: handler for generic event “fish_command_not_found” fish: Unknown command 'which' /usr/share/fish/functions/type.fish (line 3): which $i ^/dev/null ^ in command substitution called on line 120 of file “/usr/share/fish/functions/type.fish”, in function “type”, called on standard input, with parameter list “which” type: Could not find 'which' ============================================================================= |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Wednesday, 23 July 2014, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: fish 2.1.0-4
Wednesday, 23 July 2014, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: fish 2.1.0-4