snix Shell configuration files for Linux systems
- Shell 100%
| build | ||
| etc | ||
| LICENSE | ||
| README.md | ||
| VERSION | ||
shell
Shell configuration files for Linux systems.
Structure
etc/
profile.d/
bash_colors # ANSI color variables for bash prompts
alias # common aliases: c, e, l, ll
ps1 # PS1_BASH and PS1_ZSH prompt definitions
ps1_containers # PS1 for container environments
init # entry point for sh/ash
shell # sets PS1, runs fastfetch if available
bash/
local # entry point for bash → /etc/bash/local
shell_init # container init: detects environment, sets hostname
Installed at runtime if the shell is present:
zsh:
/etc/zsh/zshrc.d/pre # adds zcompletion to fpath
/etc/zsh/zshrc.d/end # entry point for zsh
fish:
/etc/fish/conf.d/alias.fish # symlink to /etc/profile.d/alias
/etc/fish/conf.d/config.fish # disables history, runs fastfetch
Loading flow
ash/sh → profile.d/init → alias + shell_init + shell + ps1 + bash_colors
bash → bash/local → init (above), then adjusts PS1 label
zsh → zsh/zshrc.d/pre → zcompletion fpath
→ zsh/zshrc.d/end → init (above), then sets PS1=$PS1_ZSH
fish → fish/conf.d/alias.fish + config.fish