etc/profile.local setup for different shells
Hi everyone,
I need to configure /etc/profile.local to set a number of variables and aliases required by programs. As this file will be read by a number of different shells, I need the file to be inherently able to self-determine the kind of shell and set the variables accordingly.
I have no experience of shell scripting, any pointers welcome.
Thanks.
|