rcaloras / bash-preexec

⚡ preexec and precmd functions for Bash just like Zsh.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is not an issue

DevasiaThomas opened this issue · comments

Hi,
I sent @rcaloras and email (the one on github). Its about something I am working on and is very close in its implementation to this project.

Hey @DevasiaThomas saw your message about changing commands with bash-preexec. I don't believe there's an easy way to do this. You could capture a command and run a modified version in preexec, but there's not a good way to substitute your modified version.

See this recent similar question: #67

Thanks for reaching out! Closing this as I don't believe bash-preexec supports your use case.

@rcaloras Thanks for answering. I kinda figured it out... but I'm stuck with this issue with respect to non interactive shells