Note: Show longer history on macOS terminal

Brisbane Web Developer - Apr 22 '23 - - Dev Community

Solution

  • Change the default behaviour of history command.
  • Change the value -50 if that is too much.
~/.zshrc
======
alias history='history -50'
Enter fullscreen mode Exit fullscreen mode
# Apply above change
exec zsh
Enter fullscreen mode Exit fullscreen mode

Reference

. . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player