aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/themes
diff options
context:
space:
mode:
authorMarvin Borner2020-03-16 23:33:42 +0100
committerMarvin Borner2020-03-16 23:33:42 +0100
commit0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch)
tree719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/themes
parente5d38956336ab1be954bdbd12808c5f98f8bd925 (diff)
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/themes')
-rw-r--r--.oh-my-zsh/plugins/themes/README.md18
-rw-r--r--.oh-my-zsh/plugins/themes/_theme3
-rw-r--r--.oh-my-zsh/plugins/themes/themes.plugin.zsh26
3 files changed, 0 insertions, 47 deletions
diff --git a/.oh-my-zsh/plugins/themes/README.md b/.oh-my-zsh/plugins/themes/README.md
deleted file mode 100644
index 408e357..0000000
--- a/.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/.oh-my-zsh/plugins/themes/_theme b/.oh-my-zsh/plugins/themes/_theme
deleted file mode 100644
index 8214ddb..0000000
--- a/.oh-my-zsh/plugins/themes/_theme
+++ /dev/null
@@ -1,3 +0,0 @@
-#compdef theme
-
-_arguments "1: :($(lstheme | tr "\n" " "))"
diff --git a/.oh-my-zsh/plugins/themes/themes.plugin.zsh b/.oh-my-zsh/plugins/themes/themes.plugin.zsh
deleted file mode 100644
index 2cd0ee3..0000000
--- a/.oh-my-zsh/plugins/themes/themes.plugin.zsh
+++ /dev/null
@@ -1,26 +0,0 @@
-function theme
-{
- if [ -z "$1" ] || [ "$1" = "random" ]; then
- themes=($ZSH/themes/*zsh-theme)
- N=${#themes[@]}
- ((N=(RANDOM%N)+1))
- RANDOM_THEME=${themes[$N]}
- source "$RANDOM_THEME"
- echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
- else
- if [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
- then
- source "$ZSH_CUSTOM/themes/$1.zsh-theme"
- else
- source "$ZSH/themes/$1.zsh-theme"
- fi
- fi
-}
-
-function lstheme
-{
- # Resources:
- # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers
- # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Glob-Qualifiers
- print -l {$ZSH,$ZSH_CUSTOM}/themes/*.zsh-theme(N:t:r)
-}