Zugschlus' Shell Startup Magic


My [http://people.debian.org/~zugschlus/wiki.debian.net/Zg2ShellStartup/bashrc .bashrc] file mainly sets environment variables, defines aliases and shell functions.

Noteworthy features include:


My [http://people.debian.org/~zugschlus/wiki.debian.net/Zg2ShellStartup/.bash_profile .bash_profile] file sources some other startup files and prints some system operating data.

Noteworthy features include:


This file is not strictly a shell startup file, but I'll document it here as well since it does things quite similiar to the shell startup files.

When logging in to an X session, no login shell is invoked, thus preventing some initialization from happening. To avoid this issue, /etc/X11/Xsession.d/60xfree86-common_user-xsession-local (See [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252592 #252592]) invokes ~.xsession-local, which in my environment adds ~.my/bin to the PATH and sources ~.bash_initshare, as my ~.bash_profile does as well.