There was a bug in some 4.3.x versions of zsh, that enabled the
completion of .. by default. That was a bug!
This change does *not* provide '.' as a possible completion. But that
is easily possible and an according snippet is included among the
examples in etc/skel/.zshrc (commented out, as usual).
#)
#zstyle ':completion:*:*:telnet:*' users-hosts-ports $telnet_users_hosts_ports
+## the default grml setup provides '..' as a completion. it does not provide
+## '.' though. If you want that too, use the following line:
+#zstyle ':completion:*' special-dirs true
## aliases ##
zstyle ':completion:*:manuals.*' insert-sections true
zstyle ':completion:*:man:*' menu yes select
+ # provide .. as a completion
+ zstyle ':completion:*' special-dirs ..
+
# run rehash on completion so new installed program are found automatically:
_force_rehash() {
(( CURRENT == 1 )) && rehash