]> arthur.barton.de Git - ax-zsh.git/commitdiff
install.sh: Install themes, too!
authorAlexander Barton <alex@barton.de>
Sun, 15 Nov 2015 15:52:06 +0000 (16:52 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 15 Nov 2015 15:52:06 +0000 (16:52 +0100)
install.sh

index 922f1a98c2b8bfd0391bf3e41949d31246a37e6f..e5ded0bfa2c4824060a419203f9a4b635060b2f7 100755 (executable)
@@ -64,6 +64,14 @@ else
                        cp -pR "$S/$p" "$AXZSH/$p" || abort
                done
        done
+
+       ax_msg - "Copying themes ..."
+       mkdir -p "$AXZSH/themes" || abort
+       for p in "$S/themes/"*; do
+               echo "$p -> $AXZSH/$p"
+               rm -fr "${AXZSH:?}/$p" || abort
+               cp -pR "$S/$p" "$AXZSH/$p" || abort
+       done
 fi
 
 mkdir -p "$AXZSH/custom_plugins" || abort