Skip to content


Subversion checkout URL

You can clone with
Download ZIP


use /home/ryan/d/.oh-my-zsh instead of ~/.oh-my-zsh for cache #424

merged 1 commit into from

4 participants


I keep my oh-my-zsh in my dropbox folder and the cache folder should not wander outside of the $ZSH env variable I have set.


I agree, but how come I don't have this problem? What is being cached there?


It's used for certain completions, for example the apt-get completion caches the list of packages.

@robbyrussell robbyrussell merged commit 5078c08 into robbyrussell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/completion.zsh
2  lib/completion.zsh
@@ -44,7 +44,7 @@ zstyle ':completion:*:hosts' hosts $hosts
# Use caching so that commands like apt and dpkg complete are useable
zstyle ':completion::complete:*' use-cache 1
-zstyle ':completion::complete:*' cache-path ~/.oh-my-zsh/cache/
+zstyle ':completion::complete:*' cache-path $ZSH/cache/
# Don't complete uninteresting users
zstyle ':completion:*:*:*:users' ignored-patterns \
Something went wrong with that request. Please try again.