Hi Garuda members,
I had an annoying error in vscode for ftc.bash not found and I SOLVED it, so just making this post to help our amazing community.
the error: “bash: /usr/share/doc/find-the-command/ftc.bash: No such file or directory” when you open the terminal in vscode and bash is the default terminal, I only had this problem inside vscode terminal, so this is how i fixed it.!
step 1: open .bashrc in terminal
step 2: check the line
# Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.bash
step 3: if you see the above lines in your .bashrc file, COMMENT them with # and ADD the following lines:
# Arch Linux command-not-found support, you must have package pkgfile installed
# https://wiki.archlinux.org/index.php/Pkgfile#.22Command_not_found.22_hook
[[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh
# Advanced command-not-found hook
[[ -e /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
That fixed my problem with a little help from this post in community
Have fun with your amazing linux distro ![]()