Skip to content

Instantly share code, notes, and snippets.

@sysadmind
Created December 11, 2014 14:22
Show Gist options
  • Save sysadmind/7b3c1794c49aa47392a7 to your computer and use it in GitHub Desktop.
Save sysadmind/7b3c1794c49aa47392a7 to your computer and use it in GitHub Desktop.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# Extra Sources
if [ -f /usr/share/doc/git/contrib/completion/git-completion.bash ]; then
source /usr/share/doc/git/contrib/completion/git-completion.bash
fi
# Include own bin directory in path
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# User specific aliases and functions
body() {
IFS= read -r header
printf '%s\n' "$header"
"$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment