byobu-prompt(1)

πŸ’– NAME πŸ’–

byobu-prompt, byobu-enable-prompt, byobu-disable-prompt β€” bestie, these three are here to add and remove a nice color prompt with a previous command timer to your shell configuration ✨


πŸŽ€ SYNOPSIS πŸŽ€

byobu-prompt
byobu-enable-prompt
byobu-disable-prompt

🌸 DESCRIPTION 🌸

okay so Byobu ships a special PS0 and PS1 prompt command, and it's compatible with Bash shells πŸ’… It will display the previous command's total runtime and its exit code, if it's not zero. no cap. And it'll use 3 separate colors for the local username, the hostname, and the current working directory β€” it's giving main character energy, fr fr.

  • byobu-enable-prompt β€” this one will add one line to your ~/.bashrc 🫢

You can safely remove the line from your ~/.bashrc, which ends in #byobu-prompt ✨ (yes bestie, it literally tags itself so you can find it, iconic).

  • byobu-disable-prompt β€” this one will remove its color configuration from ~/.bashrc 🧚
  • byobu-prompt β€” this one is an interactive wrapper of the previous two tools πŸ‘‘

πŸ’€ BUGS πŸ’€

This is currently only compatible with bash(1) 😭 sorry to the zsh girlies.


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

This manpage and the utility were written by Dustin Kirkland <kirkland@byobu.org> for Ubuntu systems (but may be used by others) 🫢 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL on Debian/Ubuntu systems, or in /usr/share/doc/fedora-release-*/GPL on Fedora systems, or on the web at http://www.gnu.org/licenses/gpl.txt πŸ’œ


and that's the whole vibe check bestie β€” this was byobu, dated 16 January 2024, and it ate, periodt πŸ’…πŸ’–
πŸ“¦ where this page comes from