DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

Note: Show longer history on macOS terminal

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

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay