From f82a2187104e306be232fdcd9245094107c4d607 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 15 Mar 2012 10:50:40 -0500 Subject: [PATCH] Making a useful bashrc so I can use it on my crappy vm at work --- bashrc | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 17aaa3c..108f061 100644 --- a/bashrc +++ b/bashrc @@ -1,8 +1,27 @@ +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + # Check for an interactive session [ -z "$PS1" ] && return -# alias ls='ls --color=auto' -alias vi='vim' PS1='[\u@\h \W]\$ ' +# VCS stuff +export P4USER=dswan +export P4PORT="humu.insors.net:1666" +export P4CONFIG=p4.cfg +export P4EDITOR=vi +export SVN_EDITOR=vi + +export EDITOR=vim +export PATH="/usr/local/bin:$PATH" + export TERM="xterm-256color" + +# alias ls='ls --color=auto' +alias vi='vim' + +# sync visidev to latest Perforce +alias visidev="ssh root@visidev.iocom.com 'cd /; p4 sync'"