Files
docker_file_analysis/files/welcome.sh
T
tobias 3a8e5d90ef Overhaul help system UX with navi, recipes, and onboarding
- Rewrite fhelp: add 'start' onboarding, recipe fallback chain
  (our files → cheat → tldr), 'workflow' dynamic loader, tier badges
- Add welcome.sh: unified English welcome for bash/zsh/fish
- Replace German README with concise English version
- Add Zsh F1/Ctrl+/ widget for inline help while typing
- Configure navi Ctrl+G widget for interactive cheatsheet browsing
- Fix dangerous 'alias help=fhelp' (was breaking bash builtin)
- Add 'h' and 'analyse' as safe aliases

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 17:38:37 +01:00

27 lines
793 B
Bash

#!/bin/bash
# Unified welcome message for all shells
# Sourced by bash, zsh, and fish on login
# Only show on login shells, not subshells
if [[ -n "$_WELCOME_SHOWN" ]]; then
return 0 2>/dev/null || exit 0
fi
export _WELCOME_SHOWN=1
# Colors (works in bash, zsh, fish)
_C='\033[0;36m' # cyan
_G='\033[0;32m' # green
_Y='\033[1;33m' # yellow
_N='\033[0m' # reset
echo ""
echo -e "${_C}REMnux Malware Analysis Container${_N}"
echo -e "$(printf '%.0s=' {1..38})"
echo ""
echo -e " ${_G}fhelp${_N} Help system"
echo -e " ${_G}fhelp start${_N} Quick start guide"
echo -e " ${_G}fhelp cheat${_N} <tool> Tool examples"
echo -e " ${_G}fhelp workflow${_N} Analysis workflows"
echo -e " ${_Y}Ctrl+G${_N} Interactive browser"
echo ""