Thanks to visit codestin.com
Credit goes to github.com

Skip to content

type should be a builtin #7342

@faho

Description

@faho

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions