mirror of https://gitlab.com/dabruh/dotfiles.git
Greatly improved install speed.
This commit is contained in:
parent
e7d8e32309
commit
40ecdfd202
|
@ -1,2 +1 @@
|
|||
^\.local\/bin
|
||||
^\.local\/share\/xrandr
|
||||
^\.local(\/bin|\/share\/xrandr)
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
^src
|
||||
^\README\.md
|
||||
^\.install
|
||||
^install\.sh$
|
||||
^setup_system\.sh$
|
||||
^(\.install|(install|setup_system)\.sh|src|README\.md)$
|
||||
|
|
|
@ -41,14 +41,14 @@ function install() {
|
|||
echo "Copying files... 💾"
|
||||
|
||||
while IFS= read -r file; do
|
||||
[[ "$file" =~ ".git"* ]] && continue
|
||||
|
||||
perform_copy=true
|
||||
file="${file#"$SCRIPT_DIR/"}"
|
||||
dir="$(dirname "$HOME/$file")"
|
||||
src="$SCRIPT_DIR/$file"
|
||||
dst="$HOME/$file"
|
||||
|
||||
grep -Eq "^\.git(ignore|/)" <<<"$file" && continue
|
||||
|
||||
if is_ignored "$file"; then
|
||||
echo "IGNORE: '$file'"
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue