GithubHelp home page GithubHelp logo

aabs / fishdots2 Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 60 KB

A new version of fishdots rewritten from the ground up. Supports basic dotfile loading, plus logging etc in support of my other plugins.

License: GNU General Public License v3.0

Shell 100.00%
fish-packages fish-shell fish-plugin fish-plugins fishdots2

fishdots2's Introduction

Welcome to fishdots2 ๐Ÿ‘‹

Version Twitter Follow

A ground-up rewrite of the Fishdots framework.

Install

fisher install aabs/fishdots2

Author

๐Ÿ‘ค Andrew Matthews

Show your support

Give a โญ๏ธ if this project helped you!

Rationale

Fishdots worked on creating in-memory function definitions, which was fine for a while. Eventuakky, the sheer number of function definitions of the framework and all the plugins grew so large that startup time was really starting to lag. To work around this issue, fish shell has an autoloading feature that will run functions by performing a lookup on fish script files of the same name in $XDG_CONFIG_HOME/fish/functions. The minimum rewrite is therefore to extract every function into a file of its own.

Plans

While I'm rewriting everything, I plan to do some tidying up and start to impose some more rigid naming conventions. I will also, at the same time, start to standardise data storage around the use of SQLite v3 where common data storage between plugins is warranted.

Conventions

  1. All functions start with fd2_. All private functions MUST start with fd2_.
  2. when supplying multiple strings to function in fd2, always use the colon : separator. i.e. some_function 'hello world:a description string to be passed through'. Currently, fish will pass a list, separating on spaces, which makes functions that take multiple string arguments that contain spaces quite difficult.

fishdots2's People

Contributors

aabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fishdots2's Issues

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.