duckinzzz/server-stuff

โ˜… 0Forks 0ShellGitHub โ†—Compare

README

Initial config for clean machine

. <(curl -fsSL https://raw.githubusercontent.com/duckinzzz/server-stuff/main/init-config.sh)

Idempotent setup script. First run installs everything; later runs only update hostname/prompt color.

What it sets up:

  • zsh (default shell) + history persistence, completion, zsh-autosuggestions, zsh-syntax-highlighting, zsh-completions
  • zoxide (dir jumping) + fzf
  • Custom PS1 (hostname + color)
  • Optional Docker install (prompt, default yes)
  • MOTD showing docker containers

Re-run: ./init-config.sh โ€” updates name/color only. Force full reinstall: rm ~/.init-config.done && ./init-config.sh

MOTD:

-----------------WELCOME-------------------

๐Ÿ–ฅ  Host: Duck-PC
โฑ  Uptime: up 5 hours, 47 minutes

๐Ÿณ Docker containers:

   NAME                      STATUS
-------------------------------------------
๐ŸŸข my-wireguard              Up About an hour
๐Ÿ”ด old-db                    Exited (1) 2 hours ago
๐ŸŸก cache-service             Restarting (3) 5 minutes ago
-------------------------------------------

Contributors

duckinzzz

Issues