-
Notifications
You must be signed in to change notification settings - Fork 0
Tips
Kenichi Kamiya edited this page Jan 29, 2025
·
3 revisions
https://unix.stackexchange.com/questions/59537/display-the-function-body-in-bash
declare -f <cmd>
which
only works in zsh, delcare -f works in both zsh and bash.
Remove the broken line. What is the broken? With your feeling...!
cp "$HISTFILE" "$(mktemp --directory zsh-history-backup.XXXX)"
hx "$HISTFILE" "+$(<"$HISTFILE" wc --lines)"