Skip to content

Instantly share code, notes, and snippets.

@Zaffy
Created May 20, 2016 22:07
Show Gist options
  • Save Zaffy/0435d5294167f072d452f66f89c4a3e4 to your computer and use it in GitHub Desktop.
Save Zaffy/0435d5294167f072d452f66f89c4a3e4 to your computer and use it in GitHub Desktop.
# /etc/profile
#Set our umask
umask 022
# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH
#LD_PRELOAD="/usr/lib/libtcmalloc.so"
#export LD_PRELOAD
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment