1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

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

This commit is contained in:
Stephen 2015-01-08 16:38:05 +00:00
parent bf7b9165fd
commit ceb42ecdb6
2 changed files with 3 additions and 3 deletions

View file

@ -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() {

View file

@ -1,7 +1,7 @@
# 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"