Add 'doom sync' as an alias for 'doom refresh'

'sync' more accurately describes the purpose of the command. 'refresh'
is now soft-deprecated; but I will phase it out of the documentation
and promote 'sync' instead, but it won't be removed.
This commit is contained in:
Henrik Lissner 2020-01-01 17:01:22 -05:00
parent ab994627bc
commit 29773baa55
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -221,11 +221,11 @@ BODY will be run when this dispatcher is called."
(defcligroup! "Maintenance"
"For managing your config and packages"
(defcli! (refresh re sync)
(defcli! (sync s refresh re)
((if-necessary-p ["-n" "--if-necessary"] "Only regenerate autoloads files if necessary")
(inhibit-envvar-p ["-e"] "Don't regenerate the envvar file")
(prune-p ["-p" "--prune"] "Purge orphaned packages & regraft repos"))
"Ensure Doom is properly set up.
"Synchronize your config with Doom Emacs.
This is the equivalent of running autoremove, install, autoloads, then
recompile. Run this whenever you: