PROMPT_LOGIN(1)

πŸŽ€ PROMPT_LOGIN(1) πŸŽ€

okay so bestie, welcome to prompt_login(1) from the fish-shell manual πŸ’– this one is a lil function that tells you about the login you’re in right now. Cute vibe, all the facts intact, no cap.

✨ NAME ✨

prompt_login β€” describe the login suitable for prompt 🫢

🌸 SYNOPSIS 🌸

prompt_login

πŸ’… DESCRIPTION πŸ’…

prompt_login is a function to describe the current login. It will show the user, the host and also whether the shell is running in a chroot (currently Debian's debian_chroot file is supported). user, host, chroot status β€” it’s giving prompt-friendly realness ✨.

πŸ¦‹ EXAMPLES πŸ¦‹

Here’s how it can show up in a prompt:

          function fish_prompt
              echo -n (prompt_login) (prompt_pwd) '$ '
          end

          >_ prompt_login
          root@bananablaster

fish-shell developers πŸ’œ

πŸ§šβ€β™€οΈ that’s the whole vibe, bestie β€” from the fish-shell source, version 4.9, dated Sep 08, 2026 πŸ’…

πŸ“¦ where this page comes from
  • arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms