CYGWIN下的.bash_profile文件

# base-files version 3.7-1

# To pick up the latest recommended .bash_profile content,
# look in /etc/defaults/etc/skel/.bash_profile

# Modifying /etc/skel/.bash_profile directly will prevent
# setup from updating it.

# The copy in your home directory (~/.bash_profile) is yours, please
# feel free to customise it to create a shell
# environment to your liking.  If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.

# ~/.bash_profile: executed by bash for login shells.

# source the system wide bashrc if it exists
if [ -e /etc/bash.bashrc ] ; then
  source /etc/bash.bashrc
fi

# source the users bashrc if it exists
if [ -e "${HOME}/.bashrc" ] ; then
  source "${HOME}/.bashrc"
fi

# Set PATH so it includes user's private bin if it exists
# if [ -d "${HOME}/bin" ] ; then
#   PATH=${HOME}/bin:${PATH}
# fi

# Set MANPATH so it includes users' private man if it exists
# if [ -d "${HOME}/man" ]; then
#   MANPATH=${HOME}/man:${MANPATH}
# fi

# Set INFOPATH so it includes users' private info if it exists
# if [ -d "${HOME}/info" ]; then
#   INFOPATH=${HOME}/info:${INFOPATH}
# fi

export OUTPUT_CHARSET="GBK"    设定输出字符集
#export LC_ALL=zh_CN.GBK
#export LANG=zh_CN.GBK

alias ls="ls --color -F --show-control-chars"
alias ll="ls --color -ltr --show-control-chars"
alias dir='dir -N --color'

PS1=`hostname`:'$PWD $'
export CVSROOT=:pserver:[email protected]:2401/qcc/ngoss-3.0

export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH

#######################################
#
#          for ORACLE client
#
#######################################

export ORACLE_BASE=C:/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/client_1
#export ORA_NLS33=$ORACLE_HOME/nls/data
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH

#######################################
#
#          for altibase client
#
#######################################

#export ALTIBASE_HOME=/opt/jf_app/tools/altibase_client/
#export ALTIBASECLI_HOME=D:/Altibase/Altibase4_Client/altibase_home_client/
#
#export PATH=$ALTIBASECLI_HOME/bin/:$PATH:.
#
#export LD_LIBRARY_PATH=$ALTIBASECLI_HOME/lib/:$LD_LIBRARY_PATH
#export SHLIB_PATH=$ALTIBASECLI_HOME/lib/:$SHLIB_PATH

#######################################
#
#          for TimesTen client
#
#######################################
export TIMESTEN_HOME=C:/TimesTen/tt70_32
export PATH=$TIMESTEN_HOME/bin:$PATH

#注意,dsn需要在ODBC驱动中配置好
alias mytt='ttisql "uid=ocs;pwd=ocs;dsn=hebei_test_tt"'

#######################################
#
#          for mysql
#
#######################################

export PATH=/usr/local/mysql/bin:/usr/local/mysql/share/mysql:$PATH

#######################################
#
#          for other
#
#######################################
export CYGWIN="server"

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH="$PATH:/usr/bin:/usr/sbin:."

alias lua="/opt/lua-5.1.3/src/lua -i -e /"_PROMPT='lua>'/""

#echo "欢迎登陆!"`whoami`

#export AIOSS_HOME=/home/GANMAO/

#alias isql="$ALTIBASECLI_HOME/bin/isql"
#alias iloader="$ALTIBASECLI_HOME/bin/iloader"

#######################################
#
#          启动服务
#
#######################################

#net start cygserver
#net start proftpd
#net start cvsserv
#apachectl2 -k start

你可能感兴趣的:(CYGWIN下的.bash_profile文件)