bin/doom: alias h => help

This commit is contained in:
Henrik Lissner 2018-05-21 15:42:00 +02:00
parent fbf8a7be56
commit cf54b3705b
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -60,7 +60,8 @@
;; Just incase you aren't using Doom!
(when (fboundp 'doom|run-all-startup-hooks)
(doom|run-all-startup-hooks)))
((equal argv '("help"))
((and (not (cdr argv))
(member (car argv) '("help" "h")))
(usage))
((not argv)
(let ((default-directory user-emacs-directory))