Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Balaye
Multiple Emacs Flavor Setup
Commits
c41b1e62
Commit
c41b1e62
authored
May 17, 2020
by
Pierre Balaye
Browse files
typo with config names
parent
e8c96c80
Changes
2
Hide whitespace changes
Inline
Side-by-side
04-multiple-spacemacs-configs.sh
View file @
c41b1e62
...
...
@@ -18,7 +18,8 @@ do
cp
-r
$mefs_FLAVORDIR
/spacemacs-develop
${
mefs_FLAVORDIR
}
/
${
conf
}
mefs_indent_message
"Adding emacs profile for
$conf
..."
echo
"
${
mefs_TEMPLATE
//<conf>/
$conf
/
}
"
sed
-i
"/
$mefs_BEG_PATTERN
/a
${
mefs_TEMPLATE2
//<conf>/
$conf
/
}
"
dot.emacs-profiles.el
sed
-i
"/
$mefs_BEG_PATTERN
/a
${
mefs_TEMPLATE1
//<conf>/
$conf
/
}
"
dot.emacs-profiles.el
echo
${
mefs_TEMPLATE1
//<conf>/
$conf
}
echo
${
mefs_TEMPLATE2
//<conf>/
$conf
}
sed
-i
"/
$mefs_BEG_PATTERN
/a
${
mefs_TEMPLATE2
//<conf>/
$conf
}
"
dot.emacs-profiles.el
sed
-i
"/
$mefs_BEG_PATTERN
/a
${
mefs_TEMPLATE1
//<conf>/
$conf
}
"
dot.emacs-profiles.el
done
dot.emacs-profiles.el
View file @
c41b1e62
...
...
@@ -3,11 +3,11 @@
(
"doom"
.
((
user-emacs-directory
.
"~/emacs/flavors/doom"
)
(
env
.
((
"DOOMDIR"
.
"~/emacs/configs/doom"
)))))
;; SPACEMACS MULTIPLE CONFIGURATIONS STARTS HERE
(
"spacemacs-test
/
"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-test
/
"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-test
/
"
)))))
(
"spacemacs-minimal
/
"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-minimal
/
"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-minimal
/
"
)))))
(
"spacemacs-default
/
"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-default
/
"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-default
/
"
)))))
(
"spacemacs-test"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-test"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-test"
)))))
(
"spacemacs-minimal"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-minimal"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-minimal"
)))))
(
"spacemacs-default"
.
((
user-emacs-directory
.
"~/emacs/flavors/spacemacs-default"
)
(
env
.
((
"SPACEMACSDIR"
.
"~/emacs/configs/spacemacs-default"
)))))
;; SPACEMACS MULTIPLE CONFIGURATIONS ENDS HERE
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment