Liking cljdoc? Tell your friends :D

xdg-rc.core


-existsclj

(-exists x)
source

existsclj

(exists s)
source

get-classic-rc-fileclj

(get-classic-rc-file system)
source

get-homeclj

(get-home)
source

get-rc-fileclj

(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.
sourceraw docstring

get-xdg-config-homeclj

(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.
sourceraw docstring

get-xdg-rc-fileclj

(get-xdg-rc-file system)
source

lsclj

(ls system)

List the files for SYSTEM that exist.

List the files for SYSTEM that exist.
sourceraw docstring

make-classic-rc-file!clj

(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.
sourceraw docstring

make-classic-rc-filenameclj

(make-classic-rc-filename system)
source

make-config!clj

(make-config! system {:keys [filename content]})
source

make-configs!clj

(make-configs! system ms)

Given a SYSTEM name, will ensure the directories/files exist.

Given a SYSTEM name, will ensure the directories/files exist.
sourceraw docstring

make-file-if-not-exists!clj

(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.
sourceraw docstring

make-xdg-rc-file!clj

(make-xdg-rc-file! system content)

Just use a single config (runcom) type file.

Just use a single config (runcom) type file.
sourceraw docstring

make-xdg-rc-filenameclj

(make-xdg-rc-filename system)
source

make-xdg-rc-filename-pathclj

(make-xdg-rc-filename-path system)
source

slurp-if-existsclj

(slurp-if-exists filename)
source

with-homeclj

(with-home s)
(with-home s s2)

Will prefix with the home.

Will prefix with the home.
sourceraw docstring

with-xdgclj

(with-xdg s)
(with-xdg s s2)

Will prefix with the XDG home.

Will prefix with the XDG home.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close