We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c13bd commit a8749d9Copy full SHA for a8749d9
zsh-string-lib.lib.zsh
@@ -1,13 +1,11 @@
1
-# -*- mode: sh; sh-indentation: 4; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
2
# According to the Zsh Plugin Standard:
3
# https://github.com/z-shell/zi/wiki/Zsh-Plugin-Standard
4
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
5
0="${${(M)0:#/*}:-$PWD/$0}"
6
7
-if [[ ${zsh_loaded_plugins[-1]} != */zsh-string-lib && -z ${fpath[(r)${0:h}]} ]]
8
-then
9
- fpath+=( "${0:h}" )
10
-fi
+if [[ $PMSPEC != *f* ]] {
+ fpath+=( "${0:h}/functions" )
+}
11
12
zmodload zsh/system 2>/dev/null
13
0 commit comments