# /etc/profile.d/10-local.sh # This file contains local startup aliases and other such things # that are local modifications -- these apply to *all* users alias "gui=startx -nolisten tcp -- :$(tty | colrm 1 8)" if [ -e $HOME/.logout ]; then if [ ! "$SHELL" = "/bin/bash" ]; then alias "logout=. $HOME/.logout;clear;exit" else alias "logout=. $HOME/.logout;clear;logout" fi else if [ ! "$SHELL" = "/bin/bash" ]; then alias "logout=clear;exit" else alias "logout=clear;logout" fi fi if [ -e $HOME/.logout ]; then alias "reboot=. $HOME/.logout ; sudo /sbin/shutdown -r now" alias "halt=. $HOME/.logout ; sudo /sbin/shutdown -h now" else alias "reboot=sudo /sbin/shutdown -r now" alias "halt=sudo /sbin/shutdown -h now" fi if [ "$USER" = "rworkman" ]; then export PATH="${PATH}:/usr/sbin:/sbin" fi