I want to use the
script program to record my session any time that I am working within a certain directory, such as my
So for example, I would
script would automatically start recording everything to a log in that directory. As soon as I leave
script would stop. Also,
~/projects has many subdirectories; the log file needs to remain at the top level of the directory tree.
Any ideas on how this would be implemented? Even better, is there a method of implementing this that would also work with other programs easily?