Skip to content

pymander/bashtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Selection of handy tools for the Bourne Again Shell

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages