Hello Hans-Peter, clicking on the link you provided ends in an "500 - internal server error OOPS" is there an error in the link or could that be a temporary issue of the server as such - or is this link not publicly accessible? Thank you, best Dieter Jurzitza Am Freitag, 27. März 2020, 20:17:20 CET schrieb Hans-Peter Jansen:
Am Montag, 23. März 2020, 12:53:01 CET schrieb Axel Braun:
Hi,
I used to write some alias into /etc/bash.bashrc.local :
%pre #Write environment changes to /etc/bash.bashrc.local cat > /etc/bash.bashrc.local << "EOF" alias cdutil='cd /usr/bin' #(and some more...) EOF
Now I was advised to use /etc/profile.d instead. This directory contains a bunch of non-executable files ending on sh, .csh, .ssh etc.
How advised you to do this?
So how is the procedure? create a new file myaddons.sh, write the above stuff into it and it gets processed/pulled-in automatically?
The only usable way to define your own aliases system-wide is with /etc/ bash.bashrc.local.
You may want to have a look:
https://build.opensuse.org/package/show/home:frispete:Tumbleweed/etc-LISA
-- ----------------------------------------------------------- Dr.-Ing. Dieter Jurzitza 76131 Karlsruhe -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org