Commit ceb42ecd authored by Stephen's avatar Stephen
Browse files

Update /home/srj/.oh-my-zsh/cache references

parent bf7b9165
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
# Flag indicating if we've previously jumped to last directory. # Flag indicating if we've previously jumped to last directory.
typeset -g ZSH_LAST_WORKING_DIRECTORY typeset -g ZSH_LAST_WORKING_DIRECTORY
mkdir -p "$ZSH/cache" mkdir -p $ZSH_CACHE_DIR
local cache_file="$ZSH/cache/last-working-dir" local cache_file="$ZSH_CACHE_DIR/last-working-dir"
# Updates the last directory once directory is changed. # Updates the last directory once directory is changed.
function chpwd() { function chpwd() {
......
# reload zshrc # reload zshrc
function src() function src()
{ {
local cache="$ZSH/cache" local cache=$ZSH_CACHE_DIR
autoload -U compinit zrecompile autoload -U compinit zrecompile
compinit -d "$cache/zcomp-$HOST" compinit -d "$cache/zcomp-$HOST"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment