Quote:
Originally Posted by lucida
Is it possible to add builtin profile/bashrc support in kterm, without modifying stock /etc/profile.
|
It should be possible to load custom profile by setting ENV variable (busybox sh should support it):
Code:
kterm -E "ENV=/path/to/custom/profile"
Generally if you just want to set some environment variables use
kterm -E option, e.g.
Code:
kterm -E "PATH=$PATH:/some/path" -E "ANOTHER_VAR="xxx"
If you need something more complex you can also run a script in the terminal with
kterm -e /path/to/script.sh option. The script should end with starting new shell, e.g.
Code:
#!/bin/sh
command1
command2
/bin/sh