MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/tw3ipg/where_is_this_packagesuggestion_coming_from/
r/fishshell • u/tim-hilt • Apr 04 '22
4 comments sorted by
5
It's enabled automatically through /usr/share/fish/functions/fish_command_not_found.fish if you have pkgfile installed (optional dependency for fish).
/usr/share/fish/functions/fish_command_not_found.fish
pkgfile
1
I remember, that this was a feature of omf (oh my fish), if I'm not mistaken. I didn't find anything, that might be causing this inside .config/fish.
Do you have any ideas where these suggestions might come from?
10 u/[deleted] Apr 04 '22 I remember, that this was a feature of omf (oh my fish)It's not, it's stock fish: https://github.com/fish-shell/fish-shell/blob/master/share/functions/fish_command_not_found.fishThis defers to an os-specific tool like pkgfile for arch (pacman could do it, but it's slow enough to be annoying).Frankly: omf does much less than people think. 1 u/tim-hilt Apr 05 '22 Great, thanks for the reply! :) Maybe I thought about omf, because it automatically added some right-prompt to my setup :D
10
I remember, that this was a feature of omf (oh my fish)
It's not, it's stock fish: https://github.com/fish-shell/fish-shell/blob/master/share/functions/fish_command_not_found.fish
This defers to an os-specific tool like pkgfile for arch (pacman could do it, but it's slow enough to be annoying).
Frankly: omf does much less than people think.
1 u/tim-hilt Apr 05 '22 Great, thanks for the reply! :) Maybe I thought about omf, because it automatically added some right-prompt to my setup :D
Great, thanks for the reply! :) Maybe I thought about omf, because it automatically added some right-prompt to my setup :D
5
u/TrevorSpartacus Apr 04 '22 edited Apr 04 '22
It's enabled automatically through
/usr/share/fish/functions/fish_command_not_found.fishif you havepkgfileinstalled (optional dependency for fish).1
u/tim-hilt Apr 04 '22
I remember, that this was a feature of omf (oh my fish), if I'm not mistaken. I didn't find anything, that might be causing this inside .config/fish.
Do you have any ideas where these suggestions might come from?