You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you may have noticed, I've been working towards making fish more usable without its functions and config.fish.
Partly, this involves moving important things to C++.
Today's candidate: The type function.
It's an important function that's useful for interactive and non-interactive use, so it should just be a builtin.
My general idea is that fish should be usable, especially non-interactively, without any functions. That means things like type and psub would have to be included somehow, but compatibility things like alias and even export don't have to be (because you can just use set -x). Enhancement like with cd is probably okay, if that's focused on interactive use?
The text was updated successfully, but these errors were encountered:
@IlanCosman With 3.1.2 or master? We made _ (the translation function) a builtin, before that it was a function that called out to the gettextcommand, so it would take 1.5ms. (yes, this is fundamentally silly - shelling out to something when we can literally just call the function in c++. Hence making it a builtin)