Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd - not expanding to dirs
- X-seq: zsh-users 17418
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: cd - not expanding to dirs
- Date: Mon, 19 Nov 2012 13:35:28 -0800
- In-reply-to: <XnsA110B44768689zzappergmailcom@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA110B44768689zzappergmailcom@80.91.229.13>
On Nov 19, 5:43pm, zzapper wrote:
}
} [root@isx01linux03]/var# dirs
} /var /etc /var/www/html ~
}
} autopushd is set
}
} but
}
} cd -<tab> does not expand to dirs
}
} zsh 4.2.6 (x86_64-redhat-linux-gnu)
Are you sure you've run "compinit" ?
CentOS 5.x (i386 but that shouldn't matter):
[schaefer@pip2]~% echo $ZSH_VERSION
4.2.6
[schaefer@pip2]/var/www/htdocs% dirs
/var/www/htdocs /etc /var ~
[schaefer@pip2]/var/www/htdocs% setopt autopushd
[schaefer@pip2]/var/www/htdocs% cd -<TAB>
0 -- /home/schaefer
1 -- /var
2 -- /etc
(Actually autopushd is irrelevant to the completion.)
I see you're running a root shell -- perhaps compaudit objected to
something and didn't load the completions, or perhaps the zsh/parameter
module is not loaded?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author