diff --git a/lisp/cli/sync.el b/lisp/cli/sync.el index c6a18908b..4604fc774 100644 --- a/lisp/cli/sync.el +++ b/lisp/cli/sync.el @@ -52,9 +52,7 @@ OPTIONS: (when jobs (setq native-comp-async-jobs-number (truncate jobs))) (print! (start "Synchronizing %S profile..." ) - (if doom-profile - (car (split-string doom-profile "@")) - "default")) + (or (car doom-profile) "default")) (unwind-protect (print-group! (when (and (not noenvvar?)