Giter Club home page Giter Club logo

bash-core's Introduction

Core

Core is a central bash library that is intended to be the control point for many bash functions, instead of bash scripts.

The reason for leveraging a control framework is to benefit from features like, autohelp, fzf completion, tab completion, auto input detection, etc.

all files included in the lib directory that end with .sh will be autoloaded in by core. If it does not end with sh, you can load it directory with import of the file path. reimport can be used an the end to reload a file after its already been loaded (e.g. dependency ordering)

Core is meant to be used inside a git repo and linked into your path. Once in your path, it can be run anywhere. Core will always run inside its own repository by default, however should you want to leverage core with other git repos, simply add a .core_enabled file to the top level of the git repo and core can then function inside that repository as well (when CWD is inside that directory).

bash completion

source <(core _completion)

zsh completion

source <(core _completion zsh)

fish completion

core _completion fish | source

fzf is recommended to be installed, if fzf is installed, it will allow selection of the closest match, core history keeps track of previous commands and orders core history based on history priority.

bash-core's People

Watchers

 avatar  avatar  avatar

bash-core's Issues

Multi repo

Add repos list to track all core enabled repos

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.