I have some config files under a local subdirectory and I want to use define-nyxt-user-system-and-laod
to define a enter point.
The subdirectory doesn’t exist on some machines, so I have to check them.
The question has two parts.
- How can I get current config dir similar to
user-emacs-directory
. - How to use
define-nyxt-user-system-and-load
with a path related to above one.asdf:component-pathname
inconfiguration.lisp
seems use an absolute one.
By the way, (files:expand *config-file*)
return the realpath of $HOME/.config/nyxt/config.lisp
which is a symbol link.