Seting Bash Aliases for Cloudron Terminal
-
I've been able to create aliases for the Cloudron terminal by creating the file
/app/data/.bash_aliases
putting the aliases there and then running
source /app/data/.bash_aliases
every 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_aliases
putting the aliases there and then running
source /app/data/.bash_aliases
every 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/.bashrc
in 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 exec
will automatically source in that file with the current Cloudron release (6.2.8)