From 29773baa5555409d1de4264909306f37b1497068 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 1 Jan 2020 17:01:22 -0500 Subject: [PATCH] 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. --- core/core-cli.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-cli.el b/core/core-cli.el index 3d483faae..38cee2ffb 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -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: