Skip to content

Instantly share code, notes, and snippets.

@adamwespiser
Created April 19, 2012 19:55
Show Gist options
  • Save adamwespiser/2423746 to your computer and use it in GitHub Desktop.
Save adamwespiser/2423746 to your computer and use it in GitHub Desktop.
prefs
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH=/home/wespisea/bin/hmmer/binaries:$PATH:/share/bin:/home/wespisea/bin/blast/bin
alias anto="ssh [email protected]"
# User specific aliases and functions
alias pf="cd /home/wespisea/work/research/researchProjects/proteins/patchFinder"
export JAVE_HOME=/share/bin/jdk1.6.0_16
export PATH=$PATH:/home/wespisea/bin/apache-ant-1.8.2/bin
alias src="source ~/.bashrc";
alias comp="cd /home/wespisea/work/research/researchProjects/proteins/patchFinder/datasets/complexesFromUniprot"
alias tick="cd /home/wespisea/work/research/researchProjects/immuneSystem/tickImmuneGenes/"
alias bars="cd /home/wespisea/work/research/researchProjects/proteins/patchFinder/promateDataset1/BARS_BACAM"
alias ligs="cd /home/wespisea/work/research/researchProjects/proteins/patchFinder/scripts/ligAsite"
alias darlingi="cd /home/wespisea/work/research/researchProjects/immuneSystem/darlingi";
PS1="\!@`hostname`:\W$ "
alias csvn=/home/wespisea/bin/csvn/bin/svn
export WISECONFIGDIR=/home/wespisea/bin/wise2.1.16b/wisecfg/
alias tickRuns="cd /home/wespisea/work/research/researchProjects/immuneSystem/tickImmuneGenes/immuneGenes;ls -ltr */*.output | sort -k 9 | sed 's:/home/wespisea/work/research/researchProjects/immuneSystem/tickImmuneGenes/immuneGenes/::'"
alias topFile="ls -ltrR| sort -k 5,5 -r -n | head -n 100"
alias q="ac;qstat"
export HISTSIZE=10000
shopt -s histappend
export PROMPT_COMMAND='history -a'
export HISTTIMEFORMAT="%s "
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo $$ $USER \
"$(history 1)" >> ~/.bash_eternal_history'
export BALL=/home/wespisea/bin/BALL-1.1
export LD_LIBRARY_PATH=$BALL/lib/Linux-x86_64-g++_4.3.3
export BLASTDB=/home/wespisea/nearline/blastdb
export PERL_LOCAL_LIB_ROOT="/home/wespisea/perl5";
export PERL_MB_OPT="--install_base /home/wespisea/perl5";
export PERL_MM_OPT="INSTALL_BASE=/home/wespisea/perl5";
export PERL5LIB="/home/wespisea/programs/ensemblApi/ensembl-functgenomics/modules:/home/wespisea/programs/bioPerl/Bio/DB/GFF/Adaptor/dbi:/home/wespisea/perl5/lib/perl5/x86_64-linux-thread-multi-ld:/home/wespisea/perl5/lib/perl5:/home/wespisea/programs/bioPerl/:/home/wespisea/programs/ensemblApi/ensembl/modules:/home/wespisea/programs/ensemblApi/ensembl-compara/modules:/home/wespisea/programs/ensemblApi/ensembl-variation/modules:$PERL5LIB";
export PATH="/home/wespisea/perl5/bin:$PATH";
set number
syntax on
set term=ansi
set hlsearch
set ts=4
nnoremap j gj
nnoremap k gk
function! SuperTab()
if (strpart(getline('.'),col('.')-2,1)=~'^\W\?$')
return "\<Tab>"
else
return "\<C-n>"
endif
endfunction
imap <Tab> <C-R>=SuperTab()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment