Update install.sh

This commit is contained in:
Ghasem Naddaf 2021-04-14 09:25:53 -07:00 committed by GitHub
commit eeb49d7fe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,6 +244,11 @@ EOF
echo echo
} }
dl_custom_plugins() {
git clone https://github.com/zdharma/fast-syntax-highlighting.git \
${ZSH}/custom/plugins/fast-syntax-highlighting
}
main() { main() {
# Run as unattended if stdin is not a tty # Run as unattended if stdin is not a tty
if [ ! -t 0 ]; then if [ ! -t 0 ]; then
@ -293,14 +298,16 @@ EOF
setup_ohmyzsh setup_ohmyzsh
setup_zshrc setup_zshrc
setup_shell setup_shell
dl_custom_plugins
printf %s "$GREEN" printf %s "$GREEN"
cat <<'EOF' cat <<'EOF'
__ __
____ / /_ ____ ___ __ __ ____ _____/ /_ ___________________***_____________________
/ __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ ____ / /_ ____ ___ __ __ ____ _____/ /_
/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / --- / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ ---
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ --- / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / ---
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
/____/ ....is now installed! /____/ ....is now installed!