Skip to content

Instantly share code, notes, and snippets.

@harmancode
Last active October 13, 2022 19:19
Show Gist options
  • Save harmancode/de93cf246be070dff4b8180a37af8df0 to your computer and use it in GitHub Desktop.
Save harmancode/de93cf246be070dff4b8180a37af8df0 to your computer and use it in GitHub Desktop.
How to use lnav with docker-compose logs
# Assuming you're using oh-my-zsh and zsh
# Go to your custom plugin directory
cd ~/.oh-my-zsh/custom/plugins
# Get the plugin
git clone https://github.com/rsteube/dclnav.git
vim ~/.zshrc
# Add dclnav into plugins array, save the file
# Restart shell
source ~/.zshrc
# You're ready to use dclnav
dclnav nginx
# Reference: https://blog.larsbehrenberg.com/how-to-install-custom-plugins-and-themes-with-oh-my-zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment