I need to run the command right after the bash starts and then stay in the session.
I was expecting something like that would work bash && cd ~/Work
, but, apparentely, it would run the second command in the initial session, not the one I'm starting.
I've found this run bash command in new shell and stay in new shell after this command executes thread, but running bash --rcfile
doesn't work for me, because I still need the rcfile to be loaded.