shishi_cfg_default_userfile(3)
π shishi_cfg_default_userfile β the shishi manual, section 3 π
okay bestie, sit down, hydrate, because we're about to talk about a function that tells you where your config file lives. it's giving "small but mighty" and honestly? obsessed. π
β¨ NAME β¨
shishi_cfg_default_userfile β it's an API function, bestie. that's the whole name. no cap.
πΈ SYNOPSIS πΈ
#include <shishi.h>
const char * shishi_cfg_default_userfile(Shishi * handle);
look at that signature. clean. iconic. she returns a const char * and she takes exactly one thing. periodt. π
π¦ ARGUMENTS π¦
Shishi * handleβ the Shishi library handle, and you gotta make it withshishi_init(), okay? that's where she comes from. no handle, no vibes. π
π DESCRIPTION π
so like, what does she actually do? she reports the absolute filename of the default user configuration file. absolute, meaning the whole entire path, not some vague little relative thing. she's not being mysterious, she's being precise. π
typically it's this:
"$HOME/.shishi/shishi.conf"
and here's the tea π: if you've set $SHISHI_HOME, that will change the directory part of it. exactly as stated regarding shishi_cfg_default_userdirectory(). so like, go read that one too if you want the full lore. iykyk.
β RETURN VALUE β
she returns the user's configuration filename. that's it. that's the gift. π«Ά
π REPORTING BUGS π
found a bug? not me manifesting one, but if you did, report it to <bug-shishi@gnu.org>. like actually, tell them, don't just tweet about it. π
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(translation: you can copy and share this file, modified or not, in any medium, no royalty needed β just keep the copyright notice and this notice. that's the whole deal. slay.) β¨
π₯ SEE ALSO π₯
the full documentation for shishi is maintained as a Texinfo manual. so if the info and shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. go forth and read, main character. π
lowkey reminder: every detail here is load-bearing, bestie. don't skip the $SHISHI_HOME bit. π
and that's the page!! this was shishi version 1.0.3, dated with all the love, and the page you just read is shishi_cfg_default_userfile(3). mwah. take care of your config files, they're doing their best. ππ¦πΈ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms