execute bash script inside .bashrc

view story

http://unix.stackexchange.com – Hi I am curious if it is possible to execute a bash script inside bash rc. It would seem to create a infinite loop unless there was some way to tell it to not try and start a new shell. Here is an example bash_script.sh: #!/bin/bash echo Hello World .bashrc export HELLO_WORLD=$(bash_script.sh) (HowTos)