Код: Выделить всё
> vima ~/.cshrc
CORRECT>vim ~/.cshrc (y|n|e|a)?Что это за тулза, как её конфигурировать и как отключить? Похоже, что не настройка bash, т.к. я использую tcsh.
Модератор: Модераторы разделов
Код: Выделить всё
> vima ~/.cshrc
CORRECT>vim ~/.cshrc (y|n|e|a)?Код: Выделить всё
if ( $?prompt == 0 ) then
set _prompt = "%B%T %n@%m %h (%c2)%b"
set prompt = "$_prompt# "
set prompt = "$_prompt (CPAN): "
set prompt = "$_prompt"": "
set prompt3 = "CORRECT> %R (y|n|e)? "Nymin писал(а): ↑18.05.2009 12:06В ~/.cshrc закомментируйте
Код: Выделить всё
if ( $?prompt == 0 ) then set _prompt = "%B%T %n@%m %h (%c2)%b" set prompt = "$_prompt# " set prompt = "$_prompt (CPAN): " set prompt = "$_prompt"": " set prompt3 = "CORRECT> %R (y|n|e)? "
Код: Выделить всё
>cat ~/.cshrc
# $FreeBSD: src/etc/root/dot.cshrc,v 1.28 2001/01/10 02:37:16 archie Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias ls ls --color=auto
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias l10 last | head -10
alias mc source /usr/share/mc/bin/mc-wrapper.csh
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin $HOME/scripts)
setenv EDITOR vi
setenv PAGER less
setenv BLOCKSIZEK
if ( $?MAIL ) then
set mail=$MAIL # mail notification ON
endif
set correct = cmd
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "[%M]%B[%n]%b%~%# "
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
endif
endifКод: Выделить всё
set correct = cmdКод: Выделить всё
unset correct