From efacdee6443988f168cfd67befd1987a7a87fafa Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 23 Jul 2021 13:31:03 +0300 Subject: [PATCH] Complete hashed directories --- zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 042a44c..8867f6b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -180,6 +180,7 @@ zstyle ":completion:*" completer _mycomp _parameters _ignored _mycomp () { [[ $CURRENT -eq 1 ]] && curcontext="${curcontext%:*:*}:-command-:" \ _command_names && return + [[ $IPREFIX =~ ~.* ]] && _tilde && return local has_files curcontext=:files:${curcontext#:*:} _files && has_files=1 [[ ${words[1]} == man ]] && curcontext=:man:${curcontext#:*:} \ -- 2.44.0