0

I am using the first answer from

How to automatically record all your terminal sessions with script utility

to record my terminal sessions, however, I can not figure out how to get my bashrc to be sourced and record the sessions automatically....

Any ideas are greatly appreciated =]

1 Answers1

1

.bashrc is sourced by default.

-bash-4.1$ echo 'echo I was read' >> ~/.bashrc
-bash-4.1$ script asdf
Script started, file is asdf
I was read
bash-4.1$ exit
Script done, file is asdf
thrig
  • 34,333
  • 3
  • 63
  • 84