GET_THEME_D_CONFIG_VAR(1)

πŸ’… GET_THEME_D_CONFIG_VAR β€” bestie edition ✨

okay so this is get-theme-d-config-var, part of the Theme-D manual (section 1, the user commands, you know the vibe) πŸŽ€


🌸 NAME 🌸

get-theme-d-config-var β€” the little command that goes and gets you a Theme-D configuration variable. that's it. that's the whole job. and she does it flawlessly πŸ’–


✨ SYNOPSIS ✨

get-theme-d-config-var VAR

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: the command get-theme-d-config-var goes and fetches the value of a configuration variable called VAR, straight out of the Theme-D configuration file. then β€” and this is the good part β€” it prints that value to standard output. clean. simple. iconic. πŸ‘‘

lowkey important: if VAR does not exist in the configuration file, the command gets terminated with a runtime error. no gentle little warning, no "sorry bestie", just. gone. πŸ’€

and here's the full guest list of Theme-D configuration variables, no cap, all of them:

  • guile-version β€” the Guile version that Theme-D is using.
  • translator-dir β€” where the compiler and linker implementations live.
  • runtime-dir β€” where the Theme-D runtime environment lives.
  • lib-dir β€” where the Theme-D standard library lives.
  • examples-dir β€” where the Theme-D examples live.
  • tests-dir β€” where the Theme-D tests live.
  • tools-dir β€” where the Theme-D tools live.
  • compiler-path β€” the Theme-D compiler path.
  • linker-path β€” the Theme-D linker path.
  • run-path β€” the Theme-D run script path.
  • use-support-lib? β€” #t if the support library is used, #f otherwise. (yes she's a boolean girlie, the ? ate πŸ’…)
  • i-ht-goops-native-classes-size β€” the size of the native GOOPS class hash table.
  • i-ht-goops-classes-size β€” the size of the Theme-D GOOPS class hash table.

🌈 ENVIRONMENT 🌈

  • THEME_D_CONFIG_FILE β€” if this variable is defined, its value gets used as the Theme-D configuration file instead of the default configuration file. so you can point her wherever you want, main character energy 🫢

πŸ“ FILES πŸ“

  • /etc/theme-d-config β€” the Theme-D configuration file.
  • ~/.theme-d-config β€” the Theme-D configuration file. ngl this one should normally only be present if you use Theme-D in local mode. so if you see her and you're not in local mode… that's a vibe check 🧚

πŸ’œ SEE ALSO πŸ’œ

setup-theme-d-test-env(1), theme-d-compile(1), theme-d-link(1), run-theme-d-program(1), /usr/share/doc/theme-d-doc/theme-d-user-guide.pdf.gz


and that's the whole page, bestie πŸ’– she's from GNU, dated 2018-10-03, and you already know what section she's in. go read the user guide if you want the extended lore, iykyk 🌟 periodt ✨