[Video] Boost Your Productivity with Command History & Shell Aliases in InterSystems IRIS
Hi Community,
Enjoy the new video on InterSystems Developers YouTube:
⏯ Boost Your Productivity with Command History & Shell Aliases in InterSystems IRIS
Discover how to quickly access command history and use shell aliases like :py and :sql to streamline your workflow. Save time, rerun commands effortlessly, and enhance your development efficiency!
🗣 Presenter: @Ash Sherzhanov, Solutions Administrator, Data Center, InterSystems
Enjoy watching, and expect to see more videos! 👍
Comments
Is it possible to define aliases per IRIS instance?
Looking at Aliases mentions the .iris_init but that is user wide.
Hi @Alexander Pettitt, great question! The pre-defined aliases, like :py, :sql, and :history, are built into the system I believe. Custom aliases, yes, they come from the ~/.iris_init file, which is user-specific and located in the user's home directory.
To make aliases instance-specific, the only workaround I’m aware of is to use separate system users for each IRIS instance, each with its own .iris_init file. Unfortunately, I don’t believe there’s a native way to directly tie aliases to a specific instance unless this user-level separation is implemented.
Let me know if you’ve explored other approaches!
Regards,
Ash