Permalink
Browse files

Opening dired

  • Loading branch information...
1 parent 4f8367f commit b65dd78893054d8fec161717b6b009bbe1015c8b myfreeweb committed Aug 18, 2010
Showing with 5 additions and 2 deletions.
  1. +3 −1 README.md
  2. +2 −1 startproject.el
View
@@ -1,7 +1,9 @@
# startproject #
Simplest Emacs project starter for all you framework guys — Django, Sproutcore, whatever — they have start commands. Really, the name „startproject“ is from Django‘s script.
-Requires a modern Emacs and ido. ido usually works out of the box, at least with GNU Emacs from Ubuntu repos and Aquamacs for Mac.
+It just runs framework's **start command** (or just a simple **tar** command extracting your project skeleton) and opens the newly created project with **dired**.
+
+Requires a modern **Emacs** and **ido**. ido usually works out of the box, *at least* with GNU Emacs from Ubuntu repos and Aquamacs for Mac.
## How to use it ##
- require it in your init file (.emacs, config.el, or something else if you‘re very creative)
View
@@ -33,7 +33,8 @@
(puthash "sproutcore" "sc-init" project-starters)
(defun really-start-project (type name)
- (shell-command (concat "cd " projects-dir " && " (gethash type project-starters) " " name)))
+ (shell-command (concat "cd " projects-dir " && " (gethash type project-starters) " " name))
+ (dired (concat projects-dir name)))
(defun get-hash-keys (hashtable)
(let (keys)

0 comments on commit b65dd78

Please sign in to comment.