Skip to content

Instantly share code, notes, and snippets.

@joekarma
Created April 11, 2012 07:40
Show Gist options
  • Save joekarma/2357643 to your computer and use it in GitHub Desktop.
Save joekarma/2357643 to your computer and use it in GitHub Desktop.
A minor init file modification to make quickproject more convenient for git users.
(ql:quickload '(:quickproject
:external-program))
(push
(lambda (pathname &rest args)
(setf (current-directory) (fad:pathname-as-directory pathname))
(rename-file "README.txt" "README.markdown")
(external-program:run "git"
(list "init" "."))
(external-program:run "git"
(list "add" "."))
(external-program:run "git"
(list "commit" "-m" "Initial commit")))
quickproject:*after-make-project-hooks*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment