.cshrc

#
#  .cshrc
#

alias h        history 25
alias j        jobs -l
alias la   ls -a
alias lf   ls -FA
alias ll   ls -lA
#alias precmd   'printf "\033]2; ${HOST}:$PWD\007"'

# A righteous umask
umask 22

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

setenv EDITOR  vi
setenv PAGER   jless
setenv BLOCKSIZE   K
setenv LANG    ja_JP.eucJP

source ~/.alias
set prompt="%n@%m:%c3> "

if ($?prompt) then
   # An interactive shell -- set some stuff up
   set filec
   set history = 100
#  set savehist = 100
   set mail = (/var/mail/$USER)
   if ( $?tcsh ) then
       bindkey "^W" backward-delete-word
       bindkey -k up history-search-backward
       bindkey -k down history-search-forward
       set complete = enhance
       complete cd 'p/1/d/'
#      set printexitvalue
   endif
endif

と、.alias

# .alias

alias   ls  ls -CF
alias   ll  ls -Al
alias   l   ll
alias   cd  'cd \!*; set prompt="%n@%m:%c3> "; ls'
#alias  cd  'cd \!*; set prompt="%n@%m:`dirs`> "; ls'
alias   less    jless
alias   les less
alias   ss  source
alias   ..  cd ..
alias   .   pwd
alias   h   history
alias   sl  ls
alias   vi  vi -n
alias   view    vi -R
alias   man jman

[ 編集 | 凍結 | 差分 | 添付 | 複製 | 名前変更 | リロード ]   [ 新規 | 一覧 | 単語検索 | 最終更新 | ヘルプ ]
Last-modified: 2005-03-18 (金) 02:13:22 (5941d)