aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sheldon/.config
diff options
context:
space:
mode:
Diffstat (limited to 'sheldon/.config')
-rw-r--r--sheldon/.config/profile.d/20-sheldon.sh4
-rw-r--r--sheldon/.config/sheldon/plugins.toml52
-rw-r--r--sheldon/.config/zsh/.zshrc.d/80-sheldon.zsh3
3 files changed, 59 insertions, 0 deletions
diff --git a/sheldon/.config/profile.d/20-sheldon.sh b/sheldon/.config/profile.d/20-sheldon.sh
new file mode 100644
index 0000000..bc0e4f5
--- /dev/null
+++ b/sheldon/.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/sheldon/.config/sheldon/plugins.toml b/sheldon/.config/sheldon/plugins.toml
new file mode 100644
index 0000000..cb1b55c
--- /dev/null
+++ b/sheldon/.config/sheldon/plugins.toml
@@ -0,0 +1,52 @@
+[templates]
+defer = """{{ hooks | get: \"pre\" | nl }}
+{% for file in files %}
+zsh-defer source "{{ file }}"
+{% endfor %}
+{{ hooks | get: \"post\" | nl }}"""
+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"
+use = ["contrib/completion/zsh"]
+apply = ["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/sheldon/.config/zsh/.zshrc.d/80-sheldon.zsh b/sheldon/.config/zsh/.zshrc.d/80-sheldon.zsh
new file mode 100644
index 0000000..2ced1c8
--- /dev/null
+++ b/sheldon/.config/zsh/.zshrc.d/80-sheldon.zsh
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+source <(sheldon source)