Skip to content

Commit

Permalink
Expand tilda on ZPLUG_LOADFILE
Browse files Browse the repository at this point in the history
- ref zplug#440
  • Loading branch information
babarot committed Dec 28, 2017
1 parent c9f2cef commit 8e61577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/io/file.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__zplug::io::file::load()
{
if [[ ! -f $ZPLUG_LOADFILE ]]; then
if [[ ! -f ${~ZPLUG_LOADFILE} ]]; then
__zplug::log::write::info \
"ZPLUG_LOADFILE is not found"
return 0
Expand Down

0 comments on commit 8e61577

Please sign in to comment.