Отказ от поиска в несуществующем каталоге

This commit is contained in:
Andrei Astafev 2022-01-23 16:38:23 +03:00
parent c95c869728
commit 497f23c115

View File

@ -1,6 +1,7 @@
# PATH # PATH
if [[ -d "$HOME/.gem/ruby" ]]; then
PATH="$(find $HOME/.gem/ruby -maxdepth 2 -name bin -type d | sort -r | tr '\n' ':')$PATH" PATH="$(find $HOME/.gem/ruby -maxdepth 2 -name bin -type d | sort -r | tr '\n' ':')$PATH"
fi
for P in \ for P in \
"$HOME/bin" \ "$HOME/bin" \