Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # This profile is generic and intended to support logins with a shared
- # nfs home directory.
- #
- # Set up the terminal:
- if [ "$TERM" = "" ]
- then
- eval ` tset -s -Q -m ':?hp' `
- else
- eval ` tset -s -Q `
- fi
- stty erase "^H" kill "^U" intr "^C" eof "^D" susp "^Z"
- stty hupcl ixon ixoff
- # Set up the search paths:
- # Set up the shell environment:
- set -u
- trap "echo 'logout'" 0
- # Set up the shell variables:
- EDITOR=vi
- export EDITOR
- PATH=${PATH}:/usr/local/bin
- export PATH
- #
- # Place any "per-host" settings in this section...
- #
- PATH=${PATH}:.
- export PATH
- umask 022
- #export DISPLAY=172.31.10.190:0.0
- #JAVA_HOME=/usr/local/java/1.6.0_11_x64
- #JAVA_HOME=/usr/local/java/1.7.0_11_x64
- #JAVA_HOME=/usr/local/java/1.8.0_66_x64
- #JAVA_HOME=/usr/java/jdk1.8.0_102
- JAVA_HOME=/usr/java/jdk1.7.0_80
- #PATH=${PATH}:${JAVA_HOME}/bin
- export JAVA_HOME
- #export _JAVA_OPTIONS="-Xms2048m -Xmx2048m"
- PATH=${JAVA_HOME}/bin:${PATH}
- export PATH
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1
- # ORACLE_HOME=/usr/local/oracle10g
- PATH=${PATH}:${ORACLE_HOME}/bin
- export ORACLE_HOME PATH
- function untar
- {
- what=$1
- gunzip < $1 | tar xvf -
- }
- function clearlog
- {
- rm ../log/*
- rm -r ../cache/*
- }
- function undb
- {
- sed '$ a PROS_EXECUTED_DB_SETUP=1' installer.properties > installer.properties.tmp
- mv installer.properties.tmp installer.properties
- }
- alias home='cd; cd /cygdrive/c/Documents*/flopez'
- alias cleanod='rm -fr cache/* rm -fr log/* rm -fr config/configurator/repository/*; ls -l cache log config/configurator/repository'
- alias lookfor='find . -type f -print | xargs grep -ins '
- alias lookforwcontext='find . -type f -print | xargs grep -insA 2 -B 2'
- #--alias ls='ls --color=always '
- alias down='home; cd My*/Down*; ls'
- alias dev='home; cd dev; ls'
- alias desk='home; cd Desktop; ls'
- #PS1="\w [Flor] >>"
- PS1="[\u@\h \w]\$"
- export PS1
- . ./.ond_bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement