diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-23 01:46:55 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-23 01:49:42 +1200 |
commit | d65e830f35698dd41626cccd07f34c2810c37abf (patch) | |
tree | 9d0ddae62b2c8828a9c6d727384c58c051b48e4c /zsh/zshrc.d/keep.zsh | |
parent | Merge branch 'release/v8.19.0' into develop (diff) | |
download | dotfiles-d65e830f35698dd41626cccd07f34c2810c37abf.tar.gz dotfiles-d65e830f35698dd41626cccd07f34c2810c37abf.zip |
Use explicitly nullglob Zsh patterns
Diffstat (limited to 'zsh/zshrc.d/keep.zsh')
-rw-r--r-- | zsh/zshrc.d/keep.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc.d/keep.zsh b/zsh/zshrc.d/keep.zsh index ddcb96e2..8a2b9449 100644 --- a/zsh/zshrc.d/keep.zsh +++ b/zsh/zshrc.d/keep.zsh @@ -141,7 +141,7 @@ EOF } # Load any existing scripts in zshkeep -for zshkeep in "${XDG_DATA_HOME:-"$HOME"/.local/share}"/zshkeep/*.zsh ; do +for zshkeep in "${XDG_DATA_HOME:-"$HOME"/.local/share}"/zshkeep/*.zsh(N) ; do [[ -e $zshkeep ]] || continue source "$zshkeep" done |