Slight Changes

master
Stephen Cochrane 3 years ago
parent 0f8971d7cf
commit 603186cd82
  1. 6
      import/README.md
  2. 0
      import/alert.sh
  3. 2
      purr
  4. 2
      run

@ -0,0 +1,6 @@
# Import
This direcotry contains scripts that are usually imported (sourced) by my other
scripts, hence I keep them all here to make it easier for you incase you want to
use one of my scripts in your own seperate project, you just simply have to copy
the script as well as this directory.

@ -3,7 +3,7 @@
# This is a simple script allowing for easy creation of simple files.
SCRIPT_PATH=$(dirname $0)
. "$SCRIPT_PATH/error.sh" > /dev/null 2>&1
. "$SCRIPT_PATH/import/alert.sh" > /dev/null 2>&1
[ ! $(command -v error) ] && echo "[WARNING] Missing 'error.sh' import"
usage () {

2
run

@ -7,7 +7,7 @@ SURF="https://surf.suckless.org/"
# Import stuff
SCRIPT_PATH=$(dirname $0)
. "$SCRIPT_PATH/error.sh" > /dev/null 2>&1
. "$SCRIPT_PATH/import/alert.sh" > /dev/null 2>&1
[ ! $(command -v error) ] && echo "[WARNING] Missing 'error.sh' import"
usage () {

Loading…
Cancel
Save