mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge e294541b61 into caa15548c1
This commit is contained in:
commit
f33e5c5cce
1 changed files with 2 additions and 1 deletions
|
|
@ -45,8 +45,9 @@ hosts=(
|
||||||
zstyle ':completion:*:hosts' hosts $hosts
|
zstyle ':completion:*:hosts' hosts $hosts
|
||||||
|
|
||||||
# Use caching so that commands like apt and dpkg complete are useable
|
# Use caching so that commands like apt and dpkg complete are useable
|
||||||
|
[[ -n "$XDG_CACHE_HOME" ]] && cache_dir=$XDG_CACHE_HOME || cache_dir="$HOME/.cache"
|
||||||
zstyle ':completion::complete:*' use-cache 1
|
zstyle ':completion::complete:*' use-cache 1
|
||||||
zstyle ':completion::complete:*' cache-path ~/.oh-my-zsh/cache/
|
zstyle ':completion::complete:*' cache-path $cache_dir/oh-my-zsh/
|
||||||
|
|
||||||
# Don't complete uninteresting users
|
# Don't complete uninteresting users
|
||||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue