Browse Source

Allow completion of dot directories (#6803)

Fixes #3775, fixes #6543
Marc Cornellà 7 years ago
parent
commit
6bff079332
1 changed files with 3 additions and 0 deletions
  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'