I have created one myscript.sh file as following
#!/bin/bash source ~/.profile cd $GOPATH/src revel run test/streetcom
I need to run this file at startup after login.
I tried using startup application by creating a new field with command as the path of myscript.sh which is:
but it did not work. I want to run the above script on the terminal after login on startup. Is there any way to run this script on tmux session. I tried adding following line after #!/bin/ bash in myscript.sh file.
tmux new -s piwork
Tmux session piwork got created but the remaining commands getting executed in another terminal window.