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>
This commit is contained in:
tobias
2026-03-28 17:38:37 +01:00
parent f3ccc09c3d
commit 3a8e5d90ef
5 changed files with 423 additions and 233 deletions
+14 -13
View File
@@ -7,17 +7,13 @@ alias grep='grep --color=auto'
alias fd='fdfind'
alias rg='rg --color=auto'
alias analyse='fhelp'
alias ?='fhelp'
alias h='fhelp'
# Fish prompt - simple and clean
# Fish prompt
function fish_prompt
set_color cyan
echo -n 'remnux'
set_color normal
echo -n '@'
set_color blue
echo -n (prompt_hostname)
set_color normal
echo -n ':'
set_color yellow
echo -n (prompt_pwd)
@@ -25,10 +21,15 @@ function fish_prompt
echo -n '> '
end
# Welcome message
if test -f /opt/README
cat /opt/README
echo ""
echo "🐚 Shell: fish | Type 'fhelp' for help"
echo ""
end
# Navi widget (Ctrl+G)
if command -q navi
navi widget fish | source 2>/dev/null
end
# Welcome message (only once per session)
if not set -q _WELCOME_SHOWN
set -gx _WELCOME_SHOWN 1
if test -f /usr/local/bin/welcome.sh
bash /usr/local/bin/welcome.sh
end
end