(get-rc-file system)
(get-rc-file system preference)
Load the user RC file for SYSTEM, with preference to XDG by default. Pass in the optional second argument :classic to flip priority.
Load the user RC file for SYSTEM, with preference to XDG by default. Pass in the optional second argument :classic to flip priority.
(get-xdg-config-home)
Get the XDG_CONFIG_HOME or HOME/.config if its not defined.
Get the XDG_CONFIG_HOME or HOME/.config if its not defined.
(ls system)
List the files for SYSTEM that exist.
List the files for SYSTEM that exist.
(make-classic-rc-file! system content)
Use the old style home directory location for RC file.
Use the old style home directory location for RC file.
(make-configs! system ms)
Given a SYSTEM name, will ensure the directories/files exist.
Given a SYSTEM name, will ensure the directories/files exist.
(make-file-if-not-exists! filename)
(make-file-if-not-exists! filename content)
Create a file unless it already exists.
Create a file unless it already exists.
(make-xdg-rc-file! system content)
Just use a single config (runcom) type file.
Just use a single config (runcom) type file.
(with-home s)
(with-home s s2)
Will prefix with the home.
Will prefix with the home.
(with-xdg s)
(with-xdg s s2)
Will prefix with the XDG home.
Will prefix with the XDG home.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close