From 8e61577a64bb65400eaeadb6e6f41242d8df5a06 Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Tue, 26 Dec 2017 18:33:24 +0900 Subject: [PATCH] Expand tilda on ZPLUG_LOADFILE - ref #440 --- base/io/file.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/io/file.zsh b/base/io/file.zsh index 8b05d372..933e6d3c 100644 --- a/base/io/file.zsh +++ b/base/io/file.zsh @@ -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