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
Oh My Zsh
Commits
31b351ce
Commit
31b351ce
authored
Jun 14, 2015
by
Robby Russell
Browse files
Merge pull request #3947 from mkwmms/patch-1
Respect $ZSH_CACHE_DIR when creating fasd's cache
parents
0a8ca6ad
7f232f69
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/fasd/fasd.plugin.zsh
View file @
31b351ce
if
[
$commands
[
fasd]
]
;
then
# check if fasd is installed
fasd_cache
=
"
$
HOME
/.
fasd-init-cache"
fasd_cache
=
"
$
{
ZSH_CACHE_DIR
}
/
fasd-init-cache"
if
[
"
$(
command
-v
fasd
)
"
-nt
"
$fasd_cache
"
-o
!
-s
"
$fasd_cache
"
]
;
then
fasd
--init
auto
>
|
"
$fasd_cache
"
fi
...
...
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