Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
ceb42ecd
Commit
ceb42ecd
authored
Jan 08, 2015
by
Stephen
Browse files
Update /home/srj/.oh-my-zsh/cache references
parent
bf7b9165
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/last-working-dir/last-working-dir.plugin.zsh
View file @
ceb42ecd
...
...
@@ -4,8 +4,8 @@
# Flag indicating if we've previously jumped to last directory.
typeset
-g
ZSH_LAST_WORKING_DIRECTORY
mkdir
-p
"
$ZSH
/cache"
local
cache_file
=
"
$ZSH
/cache
/last-working-dir"
mkdir
-p
$ZSH
_CACHE_DIR
local
cache_file
=
"
$ZSH
_CACHE_DIR
/last-working-dir"
# Updates the last directory once directory is changed.
function
chpwd
()
{
...
...
plugins/zsh_reload/zsh_reload.plugin.zsh
View file @
ceb42ecd
# reload zshrc
function
src
()
{
local
cache
=
"
$ZSH
/cache"
local
cache
=
$ZSH
_CACHE_DIR
autoload
-U
compinit zrecompile
compinit
-d
"
$cache
/zcomp-
$HOST
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment