File: /usr/local/etc/profile.colors, Permissions: 644, Owner: root:root
BLACK="\[\033[0;30m\]" BLUE="\[\033[0;34m\]" GREEN="\[\033[0;32m\]" CYAN="\[\033[0;36m\]" RED="\[\033[0;31m\]" PURPLE="\[\033[0;35m\]" BROWN="\[\033[0;33m\]" GRAY="\[\033[0;37m\]" LBLACK="\[\033[1;30m\]" LBLUE="\[\033[1;34m\]" LGREEN="\[\033[1;32m\]" LCYAN="\[\033[1;36m\]" LRED="\[\033[1;31m\]" LPURPLE="\[\033[1;35m\]" LBROWN="\[\033[1;33m\]" LGRAY="\[\033[1;37m\]"
File: /usr/local/etc/bash.prompt, Persmissions: 644, Owner: root:root
if [ "${?}" = 0 ] ; then PS1="${LGRAY}[${RED}\u@\h${LGRAY}][${GREEN}\w${LGRAY}]$(__git_ps1 "<${RED}%s${LGRAY}>")[${BROWN}\t${LGRAY}] " else PS1="${LGRAY}[${LRED}\u@\h${LGRAY}][${LGREEN}\w${LGRAY}]$(__git_ps1 "<${LRED}%s${LGRAY}>")[${LBROWN}\t${LGRAY}] " fi
File: /usr/local/etc/bashrc, Persmissions: 644, Owner: root:root
HISTSIZE=10000 HISTFILESIZE=20000 if [ -f /usr/local/etc/profile.colors ] ; then . /usr/local/etc/profile.colors fi if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi export GIT_PS1_SHOWDIRTYSTATE="true" export GIT_PS1_SHOWUNTRACKEDFILES="true" if [ -f /usr/local/etc/bash.prompt ] ; then PROMPT_COMMAND=". /usr/local/etc/bash.prompt" fi export EDITOR="vim" export PAGER="less" export JAVA_HOME="/opt/java" export M2_HOME="/opt/maven" export ANT_HOME="/opt/ant" export GRADLE_HOME="/opt/gradle" export GRADLE_OPTS="-Dorg.gradle.daemon=true" export MW_HOME="/opt/weblogic" export PATH="${JAVA_HOME}/bin:${ANT_HOME}/bin:${M2_HOME}/bin:${GRADLE_HOME}/bin:/usr/local/texlive/2014/bin/x86_64-linux:${PATH}:/opt/gitdm:/opt/yed:/opt/sqlplus" if [ -z "${LD_LIBRARY_PATH}" ] ; then export LD_LIBRARY_PATH="/opt/sqlplus" else export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/sqlplus" fi export TNS_ADMIN="/opt/sqlplus" alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias ls='ls --color=auto -F --group-directories-first' alias ll='ls -lh' alias tt='tree -pshF' alias t='tt -d' alias gg="gradle" alias yaml='gvim -geom 60x80' alias fr='git svn fetch && git svn rebase' alias st='git status' alias go='git checkout' alias br='git branch -a' alias ga='gitk --all > /dev/null 2>&1 &' alias gl='git log --decorate --stat=200,200 --graph --date-order' alias git-deleted="git status | grep deleted | cut -f 2 -d : | xargs git rm" alias rebase='git p4 rebase' gc () { if [ ! -d ".git" ] ; then echo "Not in GIT repository root." >&2 return fi echo `du -sh .git` `find .git -type f | wc -l` files git gc --aggressive --quiet echo `du -sh .git` `find .git -type f | wc -l` files } alias f="find . -type f | grep -v -e '/\..*'" alias d="find . -type d | grep -v -e '/\..*'"
To user's ~/.bashrc add this:
if [ -f /usr/local/etc/bashrc ] ; then . /usr/local/etc/bashrc fi
File: /usr/local/bin/edge, Permissions: 774, Owner: root:root
#! /bin/sh apt-get --yes update 2>&1 | sed -e 's/^/ UPDATE /' apt-get --yes upgrade 2>&1 | sed -e 's/^/ UPGRADE /' apt-get --yes dist-upgrade 2>&1 | sed -e 's/^/DIST-UPGRADE /' apt-get --yes autoremove 2>&1 | sed -e 's/^/ AUTOREMOVE /' apt-get --yes autoclean 2>&1 | sed -e 's/^/ AUTOCLEAN /' if [ -x "`which tlmgr`" ] ; then tlmgr update --self 2>&1 | sed -e 's/^/ TeX SELF /' tlmgr update --all 2>&1 | sed -e 's/^/ TeX LIVE /' fi