From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001
From: Biswakalyan Bhuyan <biswa@surgot.in>
Date: Mon, 25 Mar 2024 16:43:09 +0530
Subject: dotfile update

---
 zsh/oh-my-zsh/plugins/themes/README.md         | 18 -------------
 zsh/oh-my-zsh/plugins/themes/themes.plugin.zsh | 35 --------------------------
 2 files changed, 53 deletions(-)
 delete mode 100644 zsh/oh-my-zsh/plugins/themes/README.md
 delete mode 100644 zsh/oh-my-zsh/plugins/themes/themes.plugin.zsh

(limited to 'zsh/oh-my-zsh/plugins/themes')

diff --git a/zsh/oh-my-zsh/plugins/themes/README.md b/zsh/oh-my-zsh/plugins/themes/README.md
deleted file mode 100644
index 408e357..0000000
--- a/zsh/oh-my-zsh/plugins/themes/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Themes Plugin
-
-This plugin allows you to change ZSH theme on the go.
-
-To use it, add `themes` to the plugins array in your zshrc file:
-
-```
-plugins=(... themes)
-```
-
-## Usage
-
-`theme <theme_name>` - Changes the ZSH theme to specified theme.
-
-`theme ` - Changes the ZSH theme to some random theme.
-
-`lstheme ` - Lists installed ZSH themes.
-
diff --git a/zsh/oh-my-zsh/plugins/themes/themes.plugin.zsh b/zsh/oh-my-zsh/plugins/themes/themes.plugin.zsh
deleted file mode 100644
index 6508562..0000000
--- a/zsh/oh-my-zsh/plugins/themes/themes.plugin.zsh
+++ /dev/null
@@ -1,35 +0,0 @@
-function theme {
-    : ${1:=random} # Use random theme if none provided
-
-    if [[ -f "$ZSH_CUSTOM/$1.zsh-theme" ]]; then
-        source "$ZSH_CUSTOM/$1.zsh-theme"
-    elif [[ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]]; then
-        source "$ZSH_CUSTOM/themes/$1.zsh-theme"
-    elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then
-        source "$ZSH/themes/$1.zsh-theme"
-    else
-        echo "$0: Theme '$1' not found"
-        return 1
-    fi
-}
-
-function _theme {
-    _arguments "1: :($(lstheme))"
-}
-
-compdef _theme theme
-
-function lstheme {
-    # Resources:
-    # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers
-    # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Glob-Qualifiers
-    {
-        # Show themes inside $ZSH_CUSTOM (in any subfolder)
-        # Strip $ZSH_CUSTOM/themes/ and $ZSH_CUSTOM/ from the name, so that it matches
-        # the value that should be written in $ZSH_THEME to load the theme.
-        print -l "$ZSH_CUSTOM"/**/*.zsh-theme(.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::)
-
-        # Show themes inside $ZSH, stripping the head of the path.
-        print -l "$ZSH"/themes/*.zsh-theme(.N:t:r)
-    } | sort -u | fmt -w $COLUMNS
-}
-- 
cgit v1.2.3-59-g8ed1b