Hello For command mount -t and i want filesystem for mount usb fish print this: xxxx@ ~> mount -tNo matches for wildcard '$PATH/mount.*'. /usr/local/share/fish/functions/__fish_print_filesystems.fish (line 1): string replace -ra ".*/mount." "" -- $PATH/mount.* ^ in command substitution called on line 1 of file /usr/local/share/fish/functions/__fish_print_filesystems.fish in function '__fish_print_filesystems' called on standard input in command substitution called on standard input xxxx@ ~> mount -t No matches for wildcard '$PATH/mount.*'. /usr/local/share/fish/functions/__fish_print_filesystems.fish (line 1): string replace -ra ".*/mount." "" -- $PATH/mount.* ^ in command substitution called on line 1 of file /usr/local/share/fish/functions/__fish_print_filesystems.fish in function '__fish_print_filesystems' called on standard input in command substitution called on standard input xxxx@ ~> mount -t msdos xxxx@ ~> mount -t msdNo matches for wildcard '$PATH/mount.*'. /usr/local/share/fish/functions/__fish_print_filesystems.fish (line 1): string replace -ra ".*/mount." "" -- $PATH/mount.* ^ in command substitution called on line 1 of file /usr/local/share/fish/functions/__fish_print_filesystems.fish in function '__fish_print_filesystems' called on standard input in command substitution called on standard input
Created attachment 178862 [details] Fix __fish__print__filesystems.fish Please try this patch.
Maxfx, Have you had a chance to test it yet? It fixes the issue for me.
Thanks you very much for patch. Patch is great and function.
We can't close the bug yet, MaxFx, because the fix has not been committed.
A commit references this bug: Author: asomers Date: Thu Feb 9 00:09:59 UTC 2017 New revision: 433701 URL: https://svnweb.freebsd.org/changeset/ports/433701 Log: Fix two bugs in shells/fish 1) The build would fail when DOCS=off (PR 216167) 2) Tab completion doesn't work for "mount -t" (PR 216032) PR: 216167 PR: 216032 Reported by: Maxfx <maficccc@gmail.com> Reported by: David Guyot <david.guyot@europecamions-interactive.com> Approved by: brd (ports) Changes: head/shells/fish/Makefile head/shells/fish/files/extra-patch-Makefile.in head/shells/fish/files/patch-share_functions_____fish__print__filesystems.fish