288 lines
9.2 KiB
Plaintext
Executable File
288 lines
9.2 KiB
Plaintext
Executable File
# profile.conf — example / reference configuration
|
|
# Copy this file to the profile installation directory as "profile.conf"
|
|
# and uncomment / edit the keys you want to change.
|
|
#
|
|
# Format:
|
|
# [section_name] — starts a section
|
|
# key = value — sets a key (whitespace around = is optional)
|
|
# # comment — line comment
|
|
#
|
|
# All keys are optional. Sensible defaults apply when unset.
|
|
# Values must not contain backticks or $(…) — those are stripped for security.
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# ==============================================================================
|
|
[system]
|
|
# Bash history settings
|
|
HISTSIZE=50000
|
|
HISTFILESIZE=100000
|
|
HISTIGNORE="&:[bf]g:exit"
|
|
|
|
# Default pager
|
|
PAGER=less
|
|
|
|
# Terminal colour capability
|
|
TERM=xterm-256color
|
|
|
|
# ==============================================================================
|
|
[compress]
|
|
# taz: Default archive format (-f/--format).
|
|
# Supported: lz (default), xz, bz2, gz, lzo, tar, zip, zst
|
|
#TAZ_DEFAULT_FORMAT=lz
|
|
|
|
# taz: Number of compression threads.
|
|
# auto — detect CPU count at runtime (default)
|
|
# N — explicit positive integer
|
|
#TAZ_DEFAULT_THREADS=auto
|
|
|
|
# taz: Compression level 1 (fast/large) … 9 (slow/small).
|
|
#TAZ_DEFAULT_LEVEL=6
|
|
|
|
# utaz: Delete source archive after successful extraction (0=no, 1=yes).
|
|
#UTAZ_DEFAULT_DELETE=0
|
|
|
|
# utaz: Subdirectory creation policy.
|
|
# auto — create one only when the archive has multiple top-level entries
|
|
# always — always extract into a new subdirectory
|
|
# never — always flatten into the current directory
|
|
#UTAZ_DEFAULT_DIR_MODE=auto
|
|
|
|
# ==============================================================================
|
|
[debug]
|
|
# (no configurable keys yet)
|
|
|
|
# ==============================================================================
|
|
[disp]
|
|
# Uncomment to disable ANSI colours in profile's own output messages.
|
|
#NO_COLOR=1
|
|
|
|
# ==============================================================================
|
|
[filefct]
|
|
# expandlist: Separator between items (default: space). Use \n for newline.
|
|
#EXPANDLIST_DEFAULT_SEPARATOR=" "
|
|
|
|
# clean: Recurse into subdirectories by default (0=no, 1=yes).
|
|
#CLEAN_DEFAULT_RECURSIVE=0
|
|
|
|
# rmspc: Replacement character for spaces in filenames (default: underscore).
|
|
#RMSPC_DEFAULT_CHAR=_
|
|
|
|
# findbig: Number of results to display (default: 10).
|
|
#FINDBIG_DEFAULT_LIMIT=10
|
|
|
|
# ==============================================================================
|
|
[fun]
|
|
# busy: Hex pattern searched in /dev/urandom hexdump.
|
|
#BUSY_DEFAULT_PATTERN=ca fe
|
|
|
|
# busy: Delay between matched lines in milliseconds (0 = no delay).
|
|
#BUSY_DEFAULT_DELAY=0
|
|
|
|
# ==============================================================================
|
|
[git]
|
|
# Fallback main branch name used when remote HEAD cannot be detected.
|
|
#GIT_MAIN_BRANCH=main
|
|
|
|
# Default remote used by git helper functions.
|
|
#GIT_DEFAULT_REMOTE=origin
|
|
|
|
# Prefix used by gwip when generating automatic checkpoint messages.
|
|
#GIT_WIP_PREFIX=wip
|
|
|
|
# gacp: Automatically add all modified files (git add -A) when no explicit file
|
|
# list is provided. Set to 0 to require explicit file paths or the -a flag.
|
|
#GIT_GACP_AUTO_ADD=1
|
|
|
|
# ==============================================================================
|
|
[info]
|
|
# meteo: Default city when no argument is given. Leave unset to require an
|
|
# explicit city argument every time.
|
|
#METEO_DEFAULT_CITY=Paris
|
|
|
|
# ==============================================================================
|
|
[lang]
|
|
# Comma-separated alias:locale pairs. One function is generated per entry.
|
|
# Example: SET_LOCALE="fr:fr_FR.UTF-8,us:en_US.UTF-8,es:es_ES.UTF-8"
|
|
# creates setfr, setus, setes.
|
|
#SET_LOCALE=fr:fr_FR.UTF-8,us:en_US.UTF-8
|
|
|
|
# Alias to activate at login. Must match one of the aliases defined in SET_LOCALE above.
|
|
# Example: DEFAULT_LANG=fr → calls setfr at startup.
|
|
# Leave unset to keep the system default locale.
|
|
#DEFAULT_LANG=fr
|
|
|
|
# ==============================================================================
|
|
[net]
|
|
# dwl: Force a specific download tool (curl, wget, fetch).
|
|
# Unset = auto-detect (curl preferred, then wget, then fetch).
|
|
#DWL_PREFERRED_TOOL=curl
|
|
|
|
# myextip: API endpoint for external IP lookup.
|
|
# Alternatives: https://ipinfo.io/json, https://ip-api.com/json/
|
|
#MYEXTIP_DEFAULT_URL=https://ip-api.com/json/
|
|
|
|
# ==============================================================================
|
|
[packages]
|
|
# pkgs: Case-insensitive search by default (0=no, 1=yes).
|
|
#PKGS_DEFAULT_IGNORE_CASE=0
|
|
|
|
# ==============================================================================
|
|
[processes]
|
|
# ppu: ps output columns (comma-separated ps field names).
|
|
#PPU_DEFAULT_FORMAT=pid,user,%cpu,%mem,start,time,command
|
|
|
|
# ku: Signal sent when killing a user's processes (without SIG prefix).
|
|
#KU_DEFAULT_SIGNAL=TERM
|
|
|
|
# ==============================================================================
|
|
[prompt]
|
|
# Name of the prompt theme to load, or an explicit path to a .theme file.
|
|
# Built-in themes: default, dark, light, solarized, solarized-light,
|
|
# monokai, monochrome, abyss, plasma, adwaita
|
|
# Solarized variants require a terminal with 24-bit true-colour support.
|
|
#PROMPT_THEME=default
|
|
|
|
# Directory searched for bare theme names. Defaults to profile.d/themes/.
|
|
#PROMPT_THEME_DIR=/path/to/my/themes
|
|
|
|
# Individual colour overrides — these always win over the loaded theme.
|
|
# Values must be colour variable names from disp.sh (e.g. $Blue, $On_IBlack)
|
|
# or raw ANSI escape sequences (e.g. \e[0;34m).
|
|
#
|
|
# Clock segment
|
|
#PROMPT_COLOR_TIME_FG=$Blue
|
|
#PROMPT_COLOR_TIME_BG=$On_IBlack
|
|
#
|
|
# Main bar background
|
|
#PROMPT_COLOR_BAR_BG=$On_Blue
|
|
#
|
|
# Exit-code segment — success
|
|
#PROMPT_COLOR_OK_FG=$White
|
|
#PROMPT_COLOR_OK_MARK=$Green
|
|
#
|
|
# Exit-code segment — failure
|
|
#PROMPT_COLOR_ERR_BG=$On_Red
|
|
#PROMPT_COLOR_ERR_FG=$White
|
|
#PROMPT_COLOR_ERR_MARK=$BYellow
|
|
#
|
|
# User / host
|
|
#PROMPT_COLOR_ROOT_FG=$Red
|
|
#PROMPT_COLOR_USER_FG=$Green
|
|
#
|
|
# Working directory
|
|
#PROMPT_COLOR_DIR_FG=$ICyan
|
|
#
|
|
# Context segment (Git branch / Conda environment) on the top bar
|
|
#PROMPT_COLOR_CTX_FG=$BIYellow
|
|
#
|
|
# Show Git branch at the end of the top bar when inside a repository.
|
|
#PROMPT_SHOW_GIT=1
|
|
#
|
|
# Include Git dirty marker and upstream drift (+ahead/-behind) in the context.
|
|
#PROMPT_SHOW_GIT_STATUS=1
|
|
#
|
|
# Show Conda environment name at the end of the top bar when active.
|
|
#PROMPT_SHOW_CONDA=1
|
|
#
|
|
# Show Python venv name when active (ignored if Conda is active).
|
|
#PROMPT_SHOW_VENV=1
|
|
#
|
|
# Show session markers (ssh, tmux, screen) when applicable.
|
|
#PROMPT_SHOW_SESSION=1
|
|
|
|
# ==============================================================================
|
|
[pwd]
|
|
# genpwd: Default password length.
|
|
#GENPWD_DEFAULT_LENGTH=16
|
|
|
|
# genpwd: Maximum occurrences of any single character.
|
|
#GENPWD_DEFAULT_OCCURS=2
|
|
|
|
# genpwd: Number of passwords generated per invocation.
|
|
#GENPWD_DEFAULT_COUNT=1
|
|
|
|
# genpwd: Include symbols (1=yes, 0=no).
|
|
#GENPWD_DEFAULT_SYMBOLS=1
|
|
|
|
# genpwd: Include uppercase letters (1=yes, 0=no).
|
|
#GENPWD_DEFAULT_UPPERCASE=1
|
|
|
|
# genpwd: Include lowercase letters (1=yes, 0=no).
|
|
#GENPWD_DEFAULT_LOWERCASE=1
|
|
|
|
# genpwd: Include digits (1=yes, 0=no).
|
|
#GENPWD_DEFAULT_NUMBERS=1
|
|
|
|
# pwdscore: Show verbose breakdown by default (1=yes, 0=no).
|
|
#PWDSCORE_DEFAULT_VERBOSE=0
|
|
|
|
# ==============================================================================
|
|
[rain]
|
|
# rain: Falling speed — integer/100 gives seconds (5 → 0.05 s).
|
|
# Values < 1 are used as raw seconds.
|
|
#RAIN_DEFAULT_SPEED=5
|
|
|
|
# rain: Colour theme. Supported: white (default), green, blue, red, yellow, cyan
|
|
#RAIN_DEFAULT_COLOR=white
|
|
|
|
# matrix: Falling speed.
|
|
#MATRIX_DEFAULT_SPEED=3.5
|
|
|
|
# matrix: Colour theme. Supported: green (default), blue, red, yellow, cyan, white
|
|
#MATRIX_DEFAULT_COLOR=green
|
|
|
|
# matrix: Character set. Supported: binary (default), kana, ascii
|
|
#MATRIX_DEFAULT_CHARSET=binary
|
|
|
|
# ==============================================================================
|
|
[ssh]
|
|
# ssr: Default SSH options prepended to every ssr call.
|
|
# Examples:
|
|
# SSH_DEFAULT_OPT=-Y # X11 forwarding
|
|
# SSH_DEFAULT_OPT=-Y -o StrictHostKeyChecking=accept-new
|
|
# SSH_DEFAULT_OPT= # no default options
|
|
#SSH_DEFAULT_OPT=-Y
|
|
|
|
# ==============================================================================
|
|
[updates]
|
|
# Git branch used for update checks and profile_upgrade.
|
|
# Changing this causes profile_upgrade to automatically switch the local
|
|
# checkout to the new branch on the next run and display a warning.
|
|
#UPDT_DEFAULT_BRANCH=master
|
|
|
|
# ==============================================================================
|
|
[general]
|
|
# General-purpose section — set any environment variable you need globally.
|
|
# Good place for compilation flags, personal PATH additions, etc.
|
|
#CFLAGS=-O2 -pipe -march=native
|
|
#CXXFLAGS=$CFLAGS
|
|
#MAKEFLAGS=-j4
|
|
#PKGSOURCES=/usr/local/src
|
|
|
|
# ==============================================================================
|
|
[aliases]
|
|
# Command aliases loaded for interactive shells only.
|
|
# The value is the full command string; the key becomes the alias name.
|
|
# The base command must be executable; if not, the alias is silently skipped.
|
|
#
|
|
# ls
|
|
ll=ls -laFh --color=auto
|
|
la=ls -Ah --color=auto
|
|
l=ls -CF --color=auto
|
|
ls=ls --color=auto
|
|
#
|
|
# grep
|
|
grep=grep --color=auto
|
|
egrep=egrep --color=auto
|
|
fgrep=fgrep --color=auto
|
|
#
|
|
# disk usage
|
|
df=df -H
|
|
du=du -ch
|
|
#
|
|
# make shortcuts
|
|
#mk=make
|
|
#mkin=make install
|
|
|
|
# End of profile.conf.example
|