了解direnv使用的Linux Shell钩子
我非常想了解Linux Shell钩的工作方式...(特别是bash) 我可以对正确的文档进行任何观点或解释这个概念背后的主要思想吗?
我已经研究了Direnv文档,该文档说明了以下内容
要使Direnv正常工作,需要将其钩入外壳中。每个外壳都有自己的扩展机制。 配置挂钩后,重新启动外壳以激活direnv。
我搜索了bash手册绑扎,以找到与钩子有关的东西,而没有成功。是否有有关如何扩展外壳的博客,教程或其他一些信息?
I would very much like to understand how Linux shell hooks work... (bash in particular)
Could any one point me to the right documentation or explain the main idea behind this concept?
I've looked into the direnv documentation that states the following
For direnv to work properly it needs to be hooked into the shell. Each shell has its own extension mechanism.
Once the hook is configured, restart your shell for direnv to be activated.
I searched through the bash manual tying to find something related to hooking, without success. Is there a blog, tutorial or some other piece of information on how the shell could be extended?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论