Last active
          October 13, 2022 19:19 
        
      - 
      
 - 
        
Save harmancode/de93cf246be070dff4b8180a37af8df0 to your computer and use it in GitHub Desktop.  
    How to use lnav with docker-compose logs
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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