LINUX.ORG.RU

[debian 6] tab не завершает ввод имени


0

1

Он отлично дописывает имена файлов и пути, но отказывается дописывать команды или параметры, если это не первая команда. Например: aptitude install programm допишет только aptitude. Как исправить это?


Ответ на: комментарий от lazyklimm

конкурс конфигов для zsh :3

### some options ###
setopt autocd
setopt autolist
setopt correctall
setopt nobeep
setopt notify

### completions ###
autoload -U compinit
compinit
zstyle ':completion::complete:*' use-cache 1

# case-insensitive (uppercase from lowercase) completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'

# process completion
zstyle ':completion:*:processes' command 'ps -au$USER'
zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31"

# completions too
zstyle ':completion:*' completer _expand _complete _ignored
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' menu select=2
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
zstyle ':completion:*:descriptions' format '%U%F{yellow}%d%f%u'

### prompt ###
autoload -U promptinit
promptinit
prompt gentoo

autoload colors
colors

### history stuff ###
export HISTSIZE=2000
export HISTFILE="$HOME/.zsh_history"
export SAVEHIST=$HISTSIZE
setopt hist_ignore_all_dups
setopt hist_ignore_space

### aliases ###
alias l='ls -la'
alias ls='ls --color=auto'
alias grep='grep --color=auto'

### key bindings ###
bindkey '\e[A' history-search-backward
bindkey '\e[B' history-search-forward
bindkey '^K' kill-whole-line
bindkey "\e[H" beginning-of-line        # Home (xorg)
bindkey "\e[1~" beginning-of-line       # Home (console)
bindkey "\e[4~" end-of-line             # End (console)
bindkey "\e[F" end-of-line              # End (xorg)
bindkey "\e[2~" overwrite-mode          # Ins
bindkey "\e[3~" delete-char             # Delete
bindkey '\eOH' beginning-of-line
bindkey '\eOF' end-of-line

### dir colors ##
eval $(dircolors)
anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.