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

View File

@@ -221,11 +221,11 @@ BODY will be run when this dispatcher is called."
(defcligroup! "Maintenance" (defcligroup! "Maintenance"
"For managing your config and packages" "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") ((if-necessary-p ["-n" "--if-necessary"] "Only regenerate autoloads files if necessary")
(inhibit-envvar-p ["-e"] "Don't regenerate the envvar file") (inhibit-envvar-p ["-e"] "Don't regenerate the envvar file")
(prune-p ["-p" "--prune"] "Purge orphaned packages & regraft repos")) (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 This is the equivalent of running autoremove, install, autoloads, then
recompile. Run this whenever you: recompile. Run this whenever you: