2009년 11월 3일 화요일

~/.cshrc

h1skies@~%
h1skies@~%
h1skies@~%
h1skies@~%
h1skies@~%
h1skies@~%
h1skies@~% cat .cshrc
# $FreeBSD: src/share/skel/dot.cshrc,v 1.14.8.1 2009/04/15 03:14:26 kensmith Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#

alias h        history 25
alias j        jobs -l
alias la    ls -a
alias lf    ls -FA
alias ll    ls -lA
alias ls    ls -GF

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)

setenv    EDITOR    vi
setenv    PAGER    more
setenv    BLOCKSIZE    K

setenv    LANG    ko_KR.eucKR
setenv    LC_ALL    ko_KR.eucKR
#setenv    LANG    ko_KR.UTF-8
#setenv    LC_ALL    ko_KR.UTF-8

if ($?prompt) then
    # An interactive shell -- set some stuff up
    set filec
    set history = 100
    set savehist = 100
    set mail = (/var/mail/$USER)

    set prompt = "%B${USER}@%~%b% "
    # An interactive shell -- set some stuff up
    set filec
    # set prompt = "%B${USER}@%~%b% "
    # set prompt = "%B{%n@%m}%~%b: "
    # set prompt = '%n@%m:%/%# '
    # set prompt = '%m\:%~# '
    # set prompt = "%B[%b%{^[[0;0;35m%}%n%{^[[0;0;0m%}%B@%b%{^[[0;0;36m%}%m%{^[[0;1;25m%}%B]:%b%~%B%%%b "

    # Word Completion
    set recexact    # Exact word expands as well as beeps
    set autolist    # for command name completion. List matching words.
    set autoexpand    # Expand history when completing
    set autocorrect    # Correct spelling when completing

    # Random
     set correct = cmd    # Spell Correction on
     #set autologout = 30
     set ignoreeof        # ctrl+d not exit
     set noclobber
     #set laststatus = 2
     set watch = (0 any any)
     #set watch = (1 surim any sonnim any adrian any pwardrop any)
    #set nobeep

    if ( $?tcsh ) then
        bindkey "^W" backward-delete-word
        bindkey -k up history-search-backward
        bindkey -k down history-search-forward
    endif
endif
h1skies@~%

댓글 없음:

댓글 쓰기