shishi_cfg_default_userdirectory(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 from shishi_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.


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 πŸ’–βœ¨πŸŽ€