Skip to content

Commit a8749d9

Browse files
authored
Update zsh-string-lib.lib.zsh
1 parent 05c13bd commit a8749d9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

zsh-string-lib.lib.zsh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# -*- mode: sh; sh-indentation: 4; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
21
# According to the Zsh Plugin Standard:
32
# https://github.com/z-shell/zi/wiki/Zsh-Plugin-Standard
43
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
54
0="${${(M)0:#/*}:-$PWD/$0}"
65

7-
if [[ ${zsh_loaded_plugins[-1]} != */zsh-string-lib && -z ${fpath[(r)${0:h}]} ]]
8-
then
9-
fpath+=( "${0:h}" )
10-
fi
6+
if [[ $PMSPEC != *f* ]] {
7+
fpath+=( "${0:h}/functions" )
8+
}
119

1210
zmodload zsh/system 2>/dev/null
1311

0 commit comments

Comments
 (0)