Browse Source

allow dir/url overrides, update todos

Kyle P Davis 10 years ago
parent
commit
5b180f431f
1 changed files with 5 additions and 5 deletions
  1. 5 5
      gimme.sh

+ 5 - 5
gimme.sh

@@ -1,13 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 # a quick and dirty meta pkg installer
 # a quick and dirty meta pkg installer
+#
+#TODO: output help if used wrong
+#
 ###############################################################################
 ###############################################################################
 set -e
 set -e
 
 
-#TODO: output help if used wrong
-#TODO: provide completion
-#TODO: bubble up errors from pkgs
-GIMME_URL="http://git.kylepdavis.com/kylepdavis/gimme.git"
-GIMME_DIR="$HOME/.gimme"
+[ "$GIMME_URL" ]  ||  GIMME_URL="http://git.kylepdavis.com/kylepdavis/gimme.git"
+[ "$GIMME_DIR" ]  ||  GIMME_DIR="$HOME/.gimme"
 
 
 alias getme=gimme
 alias getme=gimme
 alias giveme=gimme
 alias giveme=gimme