-
-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Associate shell commands to used files #1980
Comments
Couldn't both Atuin and shournal be independently configured?
Atuin wants to leave a change in the main shell environment, but command substitutions in |
Sure! However, shournal hash no sync infrastructure for its history at all and I supposed it might be easier, adding file-tracing to Atuin than adding the sync infrastructure to shournal 😉.
It is possible to set variables in the main shell environment from PS0 using nifty parameter expansion tricks, i.e. incrementing a counter using
Similarly, one can utilize
Finally, any code can be executed in the main shell using signals, has I've shown here |
Hi,
a friend of mine has just shared a link to this project which is closely related to my own (a bit less popular and sophisticated 🙂) shournal, but lacks a feature important for researchers: tracing of files (see our paper Bashing irreproducibility with shournal). shournal allows you to ask for a specific file, with what particular command it was created or how it was used based on tracing deep down in the Linux kernel. So I kindly wanted to ask you to whether you are interested in adding such a feature to Atuin. For instance the kernel module backend is controllable via a single c-header file that you may want to integrate for that purpose.
In any case regarding bash, you may consider replacing
bash-preexec
byPS0
(search here for_shournal_ps0
for an example).Thanks and kind regards
Tycho
The text was updated successfully, but these errors were encountered: