command
module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 7, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
prompt
Just my favorite console prompt. If you like it, use it for your benefit. The installation is very simple:
# Install as a binary
go install prompt.go
# Then edit your ~/.bashrc and set (as an example):
PS1=""
PROMPT_COMMAND="prompt -host $(hostname)"
To see settings, try:
prompt --help
This shows how to include in the prompt:
- The hostname,
- Date,
- Current working directory and git status (if inside a git repository),
- Etc.
prompt
shows its output as colored text, suitable for regular terminals. There is currently no possibility to change the colors.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.