Code Monkey home page Code Monkey logo

fresco's People

Contributors

atu4403 avatar masa0x80 avatar ryotako avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ryotako atu4403

fresco's Issues

Remove `plugins.fish-e`

Problem

After executing fresco remove REPO_NAME, an unnecessary file $HOME/fish/plugins.fish-e is generated.

Split fresco.fish

fresco.fish is large file because it contains many functions It should be splitted small files under functions/ directory.

Cache plugins

  • fresco makes a cache file if not exists.
    • cache file path is $HOME/.cache/fresco/plugin_cache.fish.
  • fresco can speed up plugin loading by using cache file.

Bug: Array index out of bounds

fresco update

fresco update occures the following error:

Array index out of bounds
~/.config/fish/conf.d/fresco.fish (line 7):       __fresco_update_plugin $argv[2..-1]

fresco remove

fresco remove occures the following error:

Array index out of bounds
~/.config/fish/conf.d/fresco.fish (line 5):       __fresco_remove_plugin $argv[2..-1]

Bugfix: install script

Bug

After the following command, fresco command do not work well.

$ curl https://raw.githubusercontent.com/masa0x80/fresco/master/install | fish

Fix `fresco update --self`

ref. '^/dev/null'

Previous versions of fish also allowed specifying this as ^DESTINATION, but that made another character special so it was deprecated and will be removed in the future. See feature flags.

Fix indent

$ for file in (ls **.fish); fish_indent -w $file; end

Ignore uninstall.fish

Oh-my-fish plugins have uninstall.fish occasionally. We should ignore that file in loading plugins.

Do not append duplicated repository name

Problem

fresco get the same plugin twice,

$ fresco masa0x80/complement_ssh_host.fish
$ fresco masa0x80/complement_ssh_host.fish

$HOME/.config/fish/plugins.fish contains duplicated line.

$ cat $HOME/.config/fish/plugins.fish
masa0x80/complement_ssh_host.fish
masa0x80/complement_ssh_host.fish

Bug: endless loading

Problem

When you install a plugin which is already installed, fresco loading effect is never-ending.

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.