MLIR plugin for ZSH

Hello,

I recently published a ZSH plugin to help with using mlir-opt (and related frontends using MlirMain.h) in the terminal. It provides nice completions for CLI options (including pass options), and as an extra it also adds syntax highlighting for MLIR code in your terminal.

If you’re interested in trying it out see the installation instructions at GitHub - oowekyala/mlir-zsh-plugin: ZSH utilities to work with MLIR

I hope you find this useful! Cheers

8 Likes

I don’t use zsh, but this is pretty cool!

Is this something that can be added to llvm-project/mlir/utils at main · llvm/llvm-project · GitHub ?