瀏覽代碼

UPDATE...

Vitaliy Timtsurak 5 月之前
父節點
當前提交
d5d0aca5ac
共有 4 個文件被更改,包括 4 次插入45 次删除
  1. 4 0
      install.sh
  2. 0 16
      nvim_autoplag.sh
  3. 0 12
      oh_my_zsh_install.sh
  4. 0 17
      zsh_plugin_git_install.sh

+ 4 - 0
install.sh

@@ -196,6 +196,10 @@ check_config() {
         while IFS= read -r line || [[ -n "$line" ]]; do
             local pkg=$(echo "$line" | sed 's/#.*//' | xargs)
             if [[ -z "$pkg" ]]; then continue; fi
+            # Исключение для 'xorg', т.к. это группа пакетов и pacman -Q для нее не работает.
+            if [[ "$pkg" == "xorg" ]]; then
+                continue
+            fi
             if ! pacman -Q "$pkg" &>/dev/null; then
                 warn "  -> Не найден (Pacman, из $(basename $f)): $pkg"
                 missing_pacman=1

+ 0 - 16
nvim_autoplag.sh

@@ -1,16 +0,0 @@
-#!/bin/bash
-
-#   $$\               $$\   $$\           $$\        $$$$$$\              $$\
-#   $$ |              $$ |  $$ |          $$ |      $$$ __$$\             $$ |
-# $$$$$$\    $$$$$$\  $$ |  $$ | $$$$$$\  $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\
-# \_$$  _|  $$  __$$\ $$$$$$$$ |$$  __$$\ $$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|
-#   $$ |    $$$$$$$$ |\_____$$ |$$ /  $$ |$$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |
-#   $$ |$$\ $$   ____|      $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\
-#   \$$$$  |\$$$$$$$\       $$ |\$$$$$$$ |$$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-#    \____/  \_______|      \__| \____$$ |\__|  \__| \______/ \_______/    \____/
-#                               $$\   $$ |
-#                               \$$$$$$  |
-#                                \______/
-
-sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
-       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

+ 0 - 12
oh_my_zsh_install.sh

@@ -1,12 +0,0 @@
-#!/bin/bash
-
-#	$$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
-#	\__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
-#	   $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
-#	   $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
-#	   $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
-#	   $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
-#	   $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-#	   \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/
-
-sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

+ 0 - 17
zsh_plugin_git_install.sh

@@ -1,17 +0,0 @@
-#!/bin/bash
-
-#   $$\               $$\   $$\           $$\        $$$$$$\              $$\     
-#   $$ |              $$ |  $$ |          $$ |      $$$ __$$\             $$ |    
-# $$$$$$\    $$$$$$\  $$ |  $$ | $$$$$$\  $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
-# \_$$  _|  $$  __$$\ $$$$$$$$ |$$  __$$\ $$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
-#   $$ |    $$$$$$$$ |\_____$$ |$$ /  $$ |$$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
-#   $$ |$$\ $$   ____|      $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
-#   \$$$$  |\$$$$$$$\       $$ |\$$$$$$$ |$$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-#    \____/  \_______|      \__| \____$$ |\__|  \__| \______/ \_______/    \____/ 
-#                               $$\   $$ |                                        
-#                               \$$$$$$  |                                        
-#                                \______/                                         
-
-# Plugins
-git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting