Seting Bash Aliases for Cloudron Terminal
-
I've been able to create aliases for the Cloudron terminal by creating the file
/app/data/.bash_aliasesputting the aliases there and then running
source /app/data/.bash_aliasesevery time I log into the terminal. I was assuming that adding a .bashrc file wouldn't do anything. Is there any way for me to be able to skip the "source" step?
-
I've been able to create aliases for the Cloudron terminal by creating the file
/app/data/.bash_aliasesputting the aliases there and then running
source /app/data/.bash_aliasesevery time I log into the terminal. I was assuming that adding a .bashrc file wouldn't do anything. Is there any way for me to be able to skip the "source" step?
-
would that require a new base image?
or simply a source line wrapped in an if exist statement in the start script for the web shell? -
OK, I have made a fix to source in
/app/data/.bashrcin web terminal. This requires a new Cloudron release, so it will be in next release.If you use the CLI tool, just update to 4.11.0 and the
cloudron execwill automatically source in that file with the current Cloudron release (6.2.8)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
