I have a server which executes this line in .bashrc
when it starts: /bin/watch ~/checker.bash
. Which, as expected, watches that command upon server start.
I also have a client which logs into that machine, but I do not want the client's sessions to execute the same command from the .bashrc
.
I have looked at AcceptEnv
for passing env vars, though it requires configuration of the server, which I want to avoid.
I also don't want to have two different user accounts for different .bashrc
s.
Is there another angle to approach this from?