snix Shell configuration files for Linux systems
Find a file
2026-05-27 10:44:33 +02:00
build update 2026-05-27 10:44:33 +02:00
etc update 2026-05-27 10:44:33 +02:00
LICENSE Aggiungi LICENSE 2026-03-24 05:49:19 +00:00
README.md update 2026-05-04 22:38:29 +02:00
VERSION Aggiungi VERSION 2026-03-24 05:49:35 +00:00

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