shishi_cfg_default_userdirectory(3)
β¨ NAME β¨
shishi_cfg_default_userdirectory β okay bestie, this is the API function that tells you where your Shishi user directory lives π
π SYNOPSIS π
#include <shishi.h>
const char * shishi_cfg_default_userdirectory(Shishi * handle);
π¦ ARGUMENTS π¦
Shishi * handleβ the Shishi library handle you got fromshishi_init(), no cap π«Ά
πΈ DESCRIPTION πΈ
So the default user directory β the one Shishi peeks at for your ticket cache and, like, other stuff too β is normally computed by gluing the fixed string "/.shishi" onto whatever is chillin' in the environment variable $HOME. Iconic, honestly.
But wait, the plot twist: this hard coded directory, i.e. "$HOME/.shishi/", can be replaced by whatever complete path you've stashed in the environment variable $SHISHI_HOME. Slay. π
β RETURN VALUE β
It returns the user's directory name β the place where the Shishi library goes looking for configuration files, ticket caches, etcetera. That's it, that's the vibe β¨
π REPORTING BUGS π
Found a bug? Not the main character moment we wanted, but okay β report it to <bug-shishi@gnu.org> fr fr.
- 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. Periodt. π«Ά
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. Go read it, it's giving knowledge π§
k bye bestie, this was shishi 1.0.3 β shishi_cfg_default_userdirectory(3), mwah πβ¨π
π¦ 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