• 网志分类
  • » 查看所有日志 (2)
    » linux (1)
    » life (0)
    » c language (0)
    » 被遗忘的角落 (1)
  • 最新评论
  • 站内搜索
  • 友情链接
  • » 我的歪酷 非非共享界

    订阅 RSS

    歪酷博客

    0001202

    Gd @ 2006-09-27 12:35

    把自己的linux profile 备份一个: linux profile: ************************************************* # Some resources... # Customizing Your Shell: http://www.dsl.org/cookbook/cookbook_5.html#SEC69 # Consistent BackSpace and Delete Configuration: # http://www.ibb.net/~anne/keyboard.html # Setup some default paths. Note that this order will allow user installed # software to override 'system' software # If you wish to change the path on a user by user basis, it is recommended you # edit ~/.bashrc # If you wish to change the path for all users, it is recommended you edit # /etc/bash.bashrc export PATH="/usr/local/bin:/usr/bin:/bin:$PATH" # Set the user id export USER="`id -un`" # Here is how HOME is set, in order of priority, when starting from Windows # 1) From existing HOME in the Windows environment, translated to a Posix path # 2) from /etc/passwd, if there is an entry with a non empty directory field # 3) from HOMEDRIVE/HOMEPATH # 4) / (root) # If the home directory doesn't exist, create it. #export HOME=/home # run all of the profile.d scripts for i in /etc/profile.d/*.sh ; do if [ -f $i ]; then . $i fi done # default to unix make mode export MAKE_MODE=unix # it is recommended that cvs uses ssh for it's remote shell environment export CVS_RSH=/bin/ssh # Patches to Cygwin always appreciated ;) # export CVSROOT=:pserver:anoncvs@sources.redhat.com:/cvs/src # Set a HOSTNAME variable export HOSTNAME=`hostname` # set a default prompt of: user@host current_directory export PS1='\[3]0;\w{post.abstract}7 3[32m\]\u@\h \[3[33m\w3[0m\] $ ' # uncomment to use the terminal colours set in DIR_COLOR # eval `dircolors -b /etc/DIR_COLOR` # default to removing the write permission for group and other # (files normally created with mode 777 become 755; files created with # mode 666 become 644) umask 022 # make sure we start in home cd "$HOME" ********************************************************* bash_profile: ******************************************************** alias ls='ls --color=tty' alias lf='ls -F' alias ll='ls -l' alias la='ls -a' set -o vi LS_COLORS='no=00:fi=00:di=01;31;44:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=01;32:*.wav=01;32:*.mid=01;32:*.midi=01;32:*.au=01;32:*.ogg=01;32:*.flac=01;32:*.aac=01;32:'; export LS_COLORS ******************************************************** vimrc ******************************************************* set nocompatible syntax on set backspace=2 set cindent set ruler set tabstop=4 set columns=80 set noexpandtab set number set ignorecase set wrapmargin=8 set shiftwidth=4 set history=100 set showmatch set showcmd " no highlight match: set nohls set hls set incsearch filetype plugin indent on set lbr ******************************************************



     
    Gd @ 2006-09-27 12:30

    试试这个blog好不好用.好用的话就在这里了,关键是它的服务器在上海,速度快一些。