Skip to content
Selection of handy tools for the Bourne Again Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.org
cabal.sh
dirstack.sh
gitprompt.sh
host.sh
pv.sh
xterm.sh

README.org

Bashtools - Handy tools for the Bourne Again Shell

How To Use

First, make sure the repository is in the bashtools directory off of $HOME. Then stick the following into $HOME/.profile and log in again.

# Set to 1 for verbose, or 0 for quiet.
VERBOSE=1

if [ -d "$HOME/bashtools" ]
then
    for file in "$HOME/bashtools/"*.sh
    do
        test 1 -eq $VERBOSE && echo -n "Loading $file ... "
        source $file
        test 1 -eq $VERBOSE && echo "done"
    done
fi

Stuff That Isn’t Mine

There is some code here that isn’t really mine. Most notably, cabal.sh was copied from The Haskell Cabal. Little snippets here and there were probably picked up from coworkers, fellow hackers, and shell-scripting weirdos along the way.

As a result, I can’t really claim a license on any of this stuff. Is that bad? I’m not sure. Just take a look, learn from it, and use this code to do other cool things with your favorite shell.

You can’t perform that action at this time.