diff --git a/.bashrc b/.bashrc deleted file mode 100755 index 33a4e74..0000000 --- a/.bashrc +++ /dev/null @@ -1,18 +0,0 @@ -# -# ~/.bashrc -# - -# Stripped of its default items - -function autoload { - #echo "Called by $(caller): Couldn't find ${BASH_COMMAND}" - if [[ -f modules/${BASH_COMMAND}.bash ]] - then - source modules/${BASH_COMMAND}.bash - ${BASH_COMMAND} - else - echo "I can't find ${BASH_COMMAND}" - fi -} - -trap autoload ERR diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/NOTES b/NOTES old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 0e7ab5a..3c828a7 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Bash-Stash -# Console +A collection of console based bash scripts I've written at various times. It may include scripts written in other languages. To check out this repo you must select a branch you can do this via the following command . -These are various useful console scripts. \ No newline at end of file +git clone -b branch URL + +# Console + +These are daily use type console scripts. + +# OpenWrt + +These are designed to be used with OpenWrt for various tasks. + +Please see the read me in each branch for more info. \ No newline at end of file diff --git a/modules/moo.bash b/modules/moo.bash deleted file mode 100755 index 2f0ffc8..0000000 --- a/modules/moo.bash +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# Test module - -function moo () { - echo "MOOOO!! $1" -} \ No newline at end of file diff --git a/test.bash b/test.bash deleted file mode 100755 index 8eb06cb..0000000 --- a/test.bash +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -set -Eeuo pipefail - -# 2>/dev/null - -# Test file - -function autoload { - #echo "Called by $(caller): Couldn't find ${BASH_COMMAND}" - if [[ -f modules/${BASH_COMMAND}.bash ]] - then - source modules/${BASH_COMMAND}.bash - ${BASH_COMMAND} - else - echo "I can't find ${BASH_COMMAND}" - fi - -} - -trap autoload ERR - -moo \ No newline at end of file