boredos_mirror/src/library/bsh/bshrc

45 lines
1.1 KiB
Text

# BoredShell rc file
# Location: /Library/bsh/bshrc
#
# Format (initial): key=value
# Lines starting with # are comments.
#
# PATH controls command lookup order (colon-separated).
PATH=/bin:/root/Apps
# Scripts to run automatically.
# STARTUP runs for interactive shells.
# BOOT_SCRIPT runs once on boot (if enabled by the shell).
STARTUP=/Library/bsh/startup.bsh
BOOT_SCRIPT=/Library/bsh/boot.bsh
# Prompt templates.
# Tokens:
# %n = username
# %h = hostname
# %~ = cwd ("~" for /root)
# %T = time (HH:MM)
# Colors:
# %{color} switches text color; use names or hex.
# Names: default, red, green, yellow, blue, magenta, cyan, white, gray
# Hex: #RRGGBB, 0xRRGGBB, or 0xAARRGGBB
PROMPT_LEFT=%{green}%n@%h%{default}:%~%{blue}$%{default}
PROMPT_RIGHT=%T
# Minimal history mode
# When enabled, the entered line is rewritten as PROMPT_MINIMAL_PREFIX + command.
# Example:
# root@boredos:~$ echo hi
# > echo hi
PROMPT_MINIMAL_HISTORY=true
PROMPT_MINIMAL_PREFIX="> "
# History settings.
HISTORY_FILE=/Library/bsh/history
HISTORY_SIZE=200
# Feature toggles.
GLOB=true
COMPLETE=true
SUGGEST=true