3a8e5d90ef
- 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>
36 lines
708 B
Fish
36 lines
708 B
Fish
# REMnux File Analysis Container - Fish Configuration
|
|
|
|
# Aliases
|
|
alias ls='ls --color=auto'
|
|
alias ll='ls -lah'
|
|
alias grep='grep --color=auto'
|
|
alias fd='fdfind'
|
|
alias rg='rg --color=auto'
|
|
alias analyse='fhelp'
|
|
alias h='fhelp'
|
|
|
|
# Fish prompt
|
|
function fish_prompt
|
|
set_color cyan
|
|
echo -n 'remnux'
|
|
set_color normal
|
|
echo -n ':'
|
|
set_color yellow
|
|
echo -n (prompt_pwd)
|
|
set_color normal
|
|
echo -n '> '
|
|
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
|