The Strony OS X Man wymienia wszystkie wbudowane funkcje. Ale gdzie mogę znaleźć dokumentację konkretnego?
Na przykład polecenie fc, na ubuntu mogę pobrać jego instrukcję:
> help fc
fc: fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]
Display or execute commands from the history list.
fc is used to list or edit and re-execute commands from the history list.
FIRST and LAST can be numbers specifying the range, or FIRST can be a
string, which means the most recent command beginning with that
string.
....
Innym przykładem jest if wyrażenie na ubuntu:
> help if
if: if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else COMMANDS; ] fi
Execute commands based on conditional.
...
Czego mi tu brakuje?
hash, fc ,itp. Być może otworzy tam problem
zsh ma własną funkcję pomocy nazywaną run-help. Znajdziesz informacje na temat konfiguracji run-help w man zshcontrib.
man zshbuiltins.