2008-12-05 12:04:53 -05:00
|
|
|
#
|
|
|
|
# /etc/profile: system-wide defaults for bash(1) login shells
|
|
|
|
#
|
|
|
|
|
|
|
|
if [ "`id -u`" = "0" ]; then
|
2010-06-02 22:38:21 -04:00
|
|
|
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/usr/local/sbin:/usr/local/freeswitch/bin"
|
2008-12-05 12:04:53 -05:00
|
|
|
else
|
|
|
|
export PATH="/bin:/usr/bin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/usr/local/sbin"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -f ~/.inputrc ]; then
|
|
|
|
export INPUTRC="/etc/inputrc"
|
|
|
|
fi
|
|
|
|
|
2010-02-01 13:28:08 -05:00
|
|
|
set -o emacs
|
|
|
|
|
2008-12-05 12:04:53 -05:00
|
|
|
export LESSCHARSET="latin1"
|
|
|
|
export LESS="-R"
|
|
|
|
export CHARSET="ISO-8859-1"
|
2009-02-17 13:43:54 -05:00
|
|
|
export PS1='\n\[\033[01;31m\]\u@\h\[\033[01;36m\] [\d \@] \[\033[01;33m\] \w\n\[\033[00m\]<\#>:'
|
2008-12-05 12:04:53 -05:00
|
|
|
export PS2="\[\033[1m\]> \[\033[0m\]"
|
|
|
|
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
|
|
|
|
export VISUAL=emacs
|
|
|
|
|
|
|
|
umask 022
|
2008-12-09 19:38:47 -05:00
|
|
|
alias e='emacs'
|
|
|
|
alias tcommit='svn commit --no-auth-cache --username=anthm'
|
|
|
|
alias mcommit='svn commit --no-auth-cache --username=mikej'
|
2009-02-13 16:25:35 -05:00
|
|
|
alias bcommit='svn commit --no-auth-cache --username=brian'
|
2009-06-22 12:56:33 -04:00
|
|
|
alias icommit='svn commit --no-auth-cache --username=intralanman'
|
2010-05-03 14:46:57 -04:00
|
|
|
alias bgit='git commit --author "Brian West <brian@freeswitch.org>"'
|
|
|
|
alias mgit='git commit --author "Mike Jerris <mike@freeswitch.org>"'
|
|
|
|
alias tgit='git commit --author "Anthony Minessale <anthm@freeswitch.org>"'
|
|
|
|
alias igit='git commit --author "Raymond Chandler <intralanman@freeswitch.org>"'
|
2008-12-09 19:38:47 -05:00
|
|
|
alias dp='emacs /usr/local/freeswitch/conf/dialplan/default.xml'
|
2010-01-13 13:02:42 -05:00
|
|
|
alias fstop='top -p `cat /usr/local/freeswitch/run/freeswitch.pid`'
|
|
|
|
alias fsgdb='gdb /usr/local/freeswitch/bin/freeswitch `cat /usr/local/freeswitch/run/freeswitch.pid`'
|
2009-02-13 16:25:35 -05:00
|
|
|
alias fscore='gdb /usr/local/freeswitch/bin/freeswitch `ls -rt core.* | tail -n1`'
|
2009-06-23 19:45:00 -04:00
|
|
|
alias emacs='emacs -nw'
|
2008-12-05 12:04:53 -05:00
|
|
|
# End of file
|