Giter Site home page Giter Site logo

fj.sh's People

Contributors

flaviokr avatar gutomotta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fj.sh's Issues

Only functions defined in fj.sh should be callable by fj

fj can call functions that are not defined in the fj.sh file. This happens because it has access to literally everything defined in the user's shell. Some problems could emerge from that:

  1. You can inadvertently run potentially dangerous commands such as rm
  2. You can get confused around which commands are available in fj - for instance, you could forget the name of a command and call a built-in shell command instead (I just ran fj sh thinking that I was calling a function defined inside fj.sh, but turns out I started a new shell instead)

Add autocomplete

Functions defined in the local fj.sh could have autocomplete so that we don't need to type them every time. It would be specially useful for the ones with long names.

Add a listing feature to fj.sh

It would be nice to be able to list all functions defined in the current fj.sh file. The API for it could be:

fj --list

And the return value of it could be something like:

**function-1** - This functions works in a very cool way

**function-2** - This functions works in a very nice way

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.