aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/profile.d/20-sheldon.sh4
-rw-r--r--zsh/.config/sheldon/plugins.toml48
-rw-r--r--zsh/.config/zsh/.zshrc.d/20-zsh_vi_mode.zsh6
-rw-r--r--zsh/.config/zsh/.zshrc.d/80-sheldon.zsh3
4 files changed, 61 insertions, 0 deletions
diff --git a/zsh/.config/profile.d/20-sheldon.sh b/zsh/.config/profile.d/20-sheldon.sh
new file mode 100644
index 0000000..bc0e4f5
--- /dev/null
+++ b/zsh/.config/profile.d/20-sheldon.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+SHELDON_PROFILE="$(uname -r 2>/dev/null | rev | cut -d- -f1 | rev)"
+export SHELDON_PROFILE
diff --git a/zsh/.config/sheldon/plugins.toml b/zsh/.config/sheldon/plugins.toml
new file mode 100644
index 0000000..a1868b2
--- /dev/null
+++ b/zsh/.config/sheldon/plugins.toml
@@ -0,0 +1,48 @@
+[templates]
+defer = '{% for file in files %} zsh-defer source "{{ file }}" {% endfor %}'
+contrib_fpath = 'fpath=( "{{ dir }}/contrib/completion/zsh" $fpath )'
+base16_config = 'export BASE16_CONFIG_PATH="{{ dir }}"'
+base16_fzf = 'export BASE16_FZF_PATH="{{ dir }}"'
+
+[plugins]
+
+[plugins.zsh-defer]
+github = 'romkatv/zsh-defer'
+
+[plugins.zsh-vi-mode]
+github = "jeffreytse/zsh-vi-mode"
+
+[plugins.zsh-autosuggestions]
+github = "zsh-users/zsh-autosuggestions"
+use = ["{{ name }}.zsh"]
+
+[plugins.fzf]
+github = "junegunn/fzf"
+use = ["completion.zsh"]
+
+[plugins.zsh-completions]
+github = "zsh-users/zsh-completions"
+
+[plugins.zsh-pandoc-completion]
+github = "srijanshetty/zsh-pandoc-completion"
+apply = ["fpath"]
+
+[plugins.docker]
+github = "docker/cli"
+apply = ["contrib_fpath"]
+
+[plugins.base16-shell]
+github = "tinted-theming/base16-shell"
+apply = ["defer", "base16_config"]
+
+[plugins.base16-fzf]
+github = "tinted-theming/base16-fzf"
+apply = ["base16_fzf"]
+
+[plugins.zsh-syntax-highlighting]
+github = "zsh-users/zsh-syntax-highlighting"
+apply = ["defer"]
+
+[plugins.zsh-fzf-history-search]
+github = "joshskidmore/zsh-fzf-history-search"
+apply = ["defer"]
diff --git a/zsh/.config/zsh/.zshrc.d/20-zsh_vi_mode.zsh b/zsh/.config/zsh/.zshrc.d/20-zsh_vi_mode.zsh
new file mode 100644
index 0000000..e3d6411
--- /dev/null
+++ b/zsh/.config/zsh/.zshrc.d/20-zsh_vi_mode.zsh
@@ -0,0 +1,6 @@
+#!/usr/bin/zsh
+
+function zvm_config() {
+ ZVM_VI_HIGHLIGHT_FOREGROUND=black
+ ZVM_VI_HIGHLIGHT_BACKGROUND=white
+}
diff --git a/zsh/.config/zsh/.zshrc.d/80-sheldon.zsh b/zsh/.config/zsh/.zshrc.d/80-sheldon.zsh
new file mode 100644
index 0000000..2ced1c8
--- /dev/null
+++ b/zsh/.config/zsh/.zshrc.d/80-sheldon.zsh
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+source <(sheldon source)