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
π Copyright π
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