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 e682c27 commit 1c810e7Copy full SHA for 1c810e7
lib/scripting
@@ -79,6 +79,14 @@ alias sourceif=...sourceif # Backwards compatibility.
79
else
80
cat $d/*
81
fi
82
+ find $d -name '.*.sw?' -exec echo '{}' is probably going to be trouble. \;
83
source <(cat $d/*)
84
+ if [ $? != 0 ]; then
85
+ ...warn "Oops. Had a problem. Trying `pwd`/$d/* individually to debug:"
86
+ for n in $d/*; do
87
+ ...warn $n
88
+ ...source $n
89
+ done
90
+ fi
91
}
92
# vim:ft=zsh
0 commit comments