Giter VIP home page Giter VIP logo

Comments (1)

faho avatar faho commented on June 2, 2024 1

fish_variables is the store for fish's universal variables. This happens when you append to a universal variable, including in config.fish.

E.g. if you put this in your config.fish:

set -U foo $foo bar

it will increase in size.

This behavior suggests that there may be a bug causing an unnecessary growth of fish_variables, directly impacting the startup performance of the fish shell.

I'm about 98% confident that the issue is in your configuration, as this is a reasonably common mistake.

Given that your fish_variables file includes a massive $fish_user_paths, I'm guessing that you append to $fish_user_paths somewhere in your config.


fish, version 3.1.0

Also that fish version is 4 years and 6 feature releases out of date, it is missing 33% of commits compared to 3.7.1.

If you want to report a bug, please upgrade fish first. We offer packages for a variety of distributions, including Ubuntu, at https://fishshell.com/.

This particular issue was worked around in #8117 in 3.4.0, and made easier to avoid with the introduction of fish_add_path in #6960 (in 3.2.0).

from fish-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.