My repo was setup using cPanel Git™ Version Control. Problem (though minor) - the cPanel Terminal prompt always starts one level higher than the actual repo.
When i was setting up the repo it asked me where i should set the repo and i specified 'public_html' where it can correctly be seen with the path:
However whenever i start terminal it always opens in:
so I'm constantly 'cd'-ing (changing directory) into 'public_html' - its probably
simple but i dont know how to permanently change terminal to start in 'public_html' the repo index repo.
When i was setting up the repo it asked me where i should set the repo and i specified 'public_html' where it can correctly be seen with the path:
Code:
/home/myusername/public_html/
Code:
/home/myusername/
simple but i dont know how to permanently change terminal to start in 'public_html' the repo index repo.
Last edited by a moderator: