Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
core
doc
plugins
tests
.gitignore
LICENSE
README.md
bashy.bash
bashy.list
install_in_home.bash
testall.bash

README.md

bashy

Making bash great again

Installng bashy

First clone the repository into your home directory:

git clone git@github.com:veltzer/bashy.git ~/.bashy

Then edit ~/.bashrc and add:

source ~/.bashy/bashy.sh

In my own setup this is the only line in my ~/.bashrc

Working with bashy

To check the status of the core of bashy use:

bashy_status_core

To check the status of file loading of bashy use:

bashy_status_load

To check the status of plugins of bashy use:

bashy_status_plugins

To disable or enable a plugins or to change the order in which they are applied just copy ~/.bashy/bashy.list to ~/.bashy.list and edit as you like.

To install prepreqs to bashy enabled plugins use:

bashy_install

To reread the plugins use:

bashy_load_plugins

To reinit bashy when a new version is installed or pulled:

bashy_init

Writing bashy plugins

bashy plugins may never fail a command (all commands need to return 0)

bashy plugins need to set a variable 'result' to either 0 or 1.

Similar projects

https://github.com/Bash-it/bash-it


Mark Veltzer <mark.veltzer@gmail.com>