-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-startup.sh
27 lines (24 loc) · 913 Bytes
/
test-startup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh -e
echo "Attempting startup..."
${EMACS:=emacs} -nw --batch \
--eval '(progn
(defvar url-show-status)
(let ((debug-on-error t)
(url-show-status nil)
(user-emacs-directory default-directory)
(user-init-file (expand-file-name "init.el"))
(load-path (delq default-directory load-path)))
(load-file user-init-file)
(my/list-packages-and-versions)
(straight-freeze-versions)
(run-hooks (quote after-init-hook))))'
ls -lrt ./straight/versions
directory="./straight/versions"
for file in "$directory"/*
do
if [ -f "$file" ]; then
cat "$file"
echo "-------------------"
fi
done
echo "Startup successful"