浏览代码

Allow completion of dot directories (#6803)

Fixes #3775, fixes #6543
Marc Cornellà 6 年之前
父节点
当前提交
6bff079332
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lib/completion.zsh

+ 3 - 0
lib/completion.zsh

@@ -25,6 +25,9 @@ else
 fi
 unset CASE_SENSITIVE HYPHEN_INSENSITIVE
 
+# Complete . and .. special directories
+zstyle ':completion:*' special-dirs true
+
 zstyle ':completion:*' list-colors ''
 zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'