mirror of
https://github.com/notwa/rc
synced 2024-09-27 15:41:25 -07:00
ignore backup files when sourcing from zsh
This commit is contained in:
parent
b2b6b9fa30
commit
fe7dff6403
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ function {
|
|||
[ -s ~/.sh.sha1 ] && read -r b _ < ~/.sh.sha1
|
||||
( cd ~/sh \
|
||||
&& print -l '#!/usr/bin/env false' '[ -n "$preload" ] || exit 1' '' \
|
||||
| cat - $(grep -lF 'YES_ZSH' *(.)) \
|
||||
| cat - $(grep -lF 'YES_ZSH' *~*.bak(.)) \
|
||||
| tee ~/.sh \
|
||||
) | sha1sum - \
|
||||
| tee ~/.sh.sha1 \
|
||||
|
|
Loading…
Reference in a new issue