]> git.madduck.net Git - etc/mrsetup.git/blobdiff - mrsetup

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

reset -e and simplify suicide
[etc/mrsetup.git] / mrsetup
diff --git a/mrsetup b/mrsetup
index 0e5d05b627873d05637840a7035f064fd04e54e0..61380437207e74a0c33f0dabe9762ca8b6e43df0 100755 (executable)
--- a/mrsetup
+++ b/mrsetup
@@ -101,12 +101,13 @@ else
   git add .mrconfig
   git commit -m'initial checkin'
   git push --all
   git add .mrconfig
   git commit -m'initial checkin'
   git push --all
+  echo
 fi
 
 fi
 
-[ -f "$0" ] && rm $0
+rm -f "$0"
 
 echo I: spawning a shell...
 
 echo I: spawning a shell...
-$SHELL
+$SHELL --interactive --login
 
 echo I: back from the shell.
 
 
 echo I: back from the shell.