robbyrussell/oh-my-zsh — Issue #660: broken completion: some entries are hidden
Author: knl
Created: 2011-10-14 12:56:19+00:00
State: open

Hi,

I stumbled upon a weird issue that manifests only with `oh-my-zsh`, although I think it may be a quirk of `zsh` itself. For reference, I'm using oh-my-zsh on Snow Leopard with homebrew'ed zsh 4.3.12.

The problem: In `scripts/not-used` I have several `.R` files:

breakdowns.R eventloop.R process-largeclients.R process-qt.R
reprocess-pinning.R calculate-qt-error.R generate_decision_tree.R process-net.R
process-scalingexp.R

However, when I try `ls scripts/not-used/` the first completion is `ls scripts/not-used/_.R` where `_` represents cursor position. If I press `` again, I get this weird completion:

$ ls scripts/not-used/.R
breakdowns.R eventloop.R

How to unset this ugly (wrong) behaviour?

The options that are set are:

alwaystoend autocd autonamedirs autopushd cdablevars completeinword
correctall extendedglob extendedhistory noflowcontrol
histexpiredupsfirst histignoredups histignorespace histreduceblanks histverify
incappendhistory
interactive login longlistjobs monitor promptsubst
pushdignoredups pushdminus pushdsilent pushdtohome
sharehistory shinstdin zle

I posted the same issue at [stackexchange](http://unix.stackexchange.com/questions/22571/zsh-how-to-fix-tab-completion-so-it-doesnt-hide-entries), but there's no answer yet.