-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion for set - _: command not found
#6069
Comments
What is the output of # Defined in /path/to/fish-shell/share/functions/_.fish @ line 5
function _ --description 'Alias for the gettext command'
command gettext fish $argv
end Perhaps you overwrote |
I had _ aliased to sudo. I've removed the alias, and it seems to have fixed the issue. Was there a way to have this alias without causing problems? |
Not really, but it would be possible if instead of Another idea would be to issue a warning when user overrides a function provided by fish (or a builtin for that matter). This will prevent similar issues. |
See #3000, where we went around a great deal regarding builtins. The problem with functions is that you then need a way to override the blacklist. |
Version: 2.7.1
OS: WSL
Terminal: wsltty (
echo $TERM
says xterm)To preface, I can't repro this using the clean fish command
sh -c 'env HOME=$(mktemp -d) fish'
, so presumably it's something to do with my config, however I'm unsure of how to begin to debug. Let me know if there are specific config files I should post.Steps to reproduce with my config:
set -Ux
The text was updated successfully, but these errors were encountered: