From 52e0fd7d24dacd4f050f28498921fcc2efc3040f Mon Sep 17 00:00:00 2001 From: James Coleman Date: Sat, 14 Oct 2023 10:21:09 -0400 Subject: [PATCH] Remove duplicats --- .config/zsh/zsh/functions | 21 ------------------- .config/zsh/zsh/keybinds.zsh | 8 ------- .config/zsh/zsh/plugins/pure | 1 - .config/zsh/zsh/plugins/zsh-autosuggestions | 1 - .../zsh/zsh/plugins/zsh-syntax-highlighting | 1 - 5 files changed, 32 deletions(-) delete mode 100644 .config/zsh/zsh/functions delete mode 100644 .config/zsh/zsh/keybinds.zsh delete mode 160000 .config/zsh/zsh/plugins/pure delete mode 160000 .config/zsh/zsh/plugins/zsh-autosuggestions delete mode 160000 .config/zsh/zsh/plugins/zsh-syntax-highlighting diff --git a/.config/zsh/zsh/functions b/.config/zsh/zsh/functions deleted file mode 100644 index 390ae12..0000000 --- a/.config/zsh/zsh/functions +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/zsh -function zsh_add_config() { - [ -f "$ZSH_CONFIG/$1" ] && ! [ -L "$ZSH_CONFIG/$1" ] && source "$ZSH_CONFIG/$1" -} - -function zsh_add_plugin() { - PLUGIN_NAME=$(echo $1 | cut -d"/" -f2) - if ! [ -d "$ZSH_CONFIG/plugins/$PLUGIN_NAME" ]; then - git clone "https://github.com/$1.git" "$ZSH_CONFIG/plugins/$PLUGIN_NAME" - fi - zsh_add_config "plugins/$PLUGIN_NAME/$PLUGIN_NAME.plugin.zsh" - zsh_add_config "plugins/$PLUGIN_NAME/$PLUGIN_NAME.zsh" -} - -function zsh_fpath_plugin() { - PLUGIN_NAME=$(echo $1 | cut -d"/" -f2) - if ! [ -d "$ZSH_CONFIG/plugins/$PLUGIN_NAME" ]; then - git clone "https://github.com/$1.git" "$ZSH_CONFIG/plugins/$PLUGIN_NAME" - fi - fpath+=($ZSH_CONFIG/plugins/$PLUGIN_NAME) -} diff --git a/.config/zsh/zsh/keybinds.zsh b/.config/zsh/zsh/keybinds.zsh deleted file mode 100644 index 2b9e771..0000000 --- a/.config/zsh/zsh/keybinds.zsh +++ /dev/null @@ -1,8 +0,0 @@ -WORDCHARS='~!#$%^&*(){}[]<>?.+;-' -MOTION_WORDCHARS='~!#$%^&*(){}[]<>?.+;-/' - -''{back,for}ward-word() WORDCHARS=$MOTION_WORDCHARS zle .$WIDGET - -bindkey '^[[1;3C' forward-word -bindkey '^[[1;3D' backward-word -bindkey '^[^?' backward-kill-word diff --git a/.config/zsh/zsh/plugins/pure b/.config/zsh/zsh/plugins/pure deleted file mode 160000 index 3b2606d..0000000 --- a/.config/zsh/zsh/plugins/pure +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3b2606db2e7eb6f05c67b229b5e3c68a1c3947a6 diff --git a/.config/zsh/zsh/plugins/zsh-autosuggestions b/.config/zsh/zsh/plugins/zsh-autosuggestions deleted file mode 160000 index a411ef3..0000000 --- a/.config/zsh/zsh/plugins/zsh-autosuggestions +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/.config/zsh/zsh/plugins/zsh-syntax-highlighting b/.config/zsh/zsh/plugins/zsh-syntax-highlighting deleted file mode 160000 index caa749d..0000000 --- a/.config/zsh/zsh/plugins/zsh-syntax-highlighting +++ /dev/null @@ -1 +0,0 @@ -Subproject commit caa749d030d22168445c4cb97befd406d2828db0