prompt

Sep 15, 2009 04:06

Для ради памяти запишу:
В директории пользователя файл:  .cshrc
alias h        history 100
alias j         jobs -l
alias lk        ls -FG
alias mess tail -50 -f /var/log/messages

umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
setenv  EDITOR  ee
setenv  PAGER   more
setenv  BLOCKSIZE       K

if ($?prompt) then
        set prompt = '%{^[[40;32;1m%}%$cwd/>'
        set filec
        set history = 1000
        set savehist = 1000
        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
        endif
endif

freebsd

Previous post Next post
Up