8000 Editing a function adds a comment line · Issue #7879 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Editing a function adds a comment line #7879

@cycloss

Description

@cycloss

System Info:

Fish Version: 3.2.1
OS: macos Big Sur

Problem:

When using funced to edit a function with $EDITOR set to code -n -w or nano, a comment line is being added to the file where the function is defined along the lines of:

# Defined in /var/folders/l6/4wtwvg1903l93zlk1_5rzrzr0000gn/T//fish.43EOEP/dotupd.fish @ line 1

or if using funced -i:

# Defined Interactively

This didn't used to happen so I'm wondering if it's a feature of a new update? I'm not able to find any configuration info about it in the docs. I'd like to be able to turn this off as it changes every time I edit a function from the command line which makes my git commits messy. It's also noise that I'd rather not look at.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0