Add dot_config/sheldon/.keep
Add dot_config/sheldon/plugins.lock Add dot_config/sheldon/plugins.toml
This commit is contained in:
parent
de78f892a6
commit
f4e172dd22
3 changed files with 202 additions and 0 deletions
0
dot_config/sheldon/.keep
Normal file
0
dot_config/sheldon/.keep
Normal file
112
dot_config/sheldon/plugins.lock
Normal file
112
dot_config/sheldon/plugins.lock
Normal file
|
@ -0,0 +1,112 @@
|
|||
version = "0.6.4"
|
||||
home = "/home/weger"
|
||||
config_dir = "/home/weger/.config/sheldon"
|
||||
data_dir = "/home/weger/.local/sheldon"
|
||||
config_file = "/home/weger/.config/sheldon/plugins.toml"
|
||||
lock_file = "/home/weger/.config/sheldon/plugins.lock"
|
||||
clone_dir = "/home/weger/.local/sheldon/repos"
|
||||
download_dir = "/home/weger/.local/sheldon/downloads"
|
||||
|
||||
[[plugins]]
|
||||
name = "docker-zsh-completion"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/greymd/docker-zsh-completion"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/greymd/docker-zsh-completion/docker-zsh-completion.plugin.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "rust-zsh-completions"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/ryutok/rust-zsh-completions"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/ryutok/rust-zsh-completions/rust.plugin.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "zsh-completions"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-completions"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-completions/zsh-completions.plugin.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "history"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh"
|
||||
plugin_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/history.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "pure"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/rossmacarthur/pure"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/rossmacarthur/pure/async.zsh", "/home/weger/.local/sheldon/repos/github.com/rossmacarthur/pure/pure.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "wd"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/mfaerevaag/wd"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/mfaerevaag/wd/wd.plugin.zsh"]
|
||||
apply = ["fpath", "source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "zsh-defer"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/romkatv/zsh-defer"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/romkatv/zsh-defer/zsh-defer.plugin.zsh"]
|
||||
apply = ["source"]
|
||||
|
||||
[[plugins]]
|
||||
name = "autoenv"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/zpm-zsh/autoenv"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/zpm-zsh/autoenv/autoenv.plugin.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[[plugins]]
|
||||
name = "ohmyzsh-lib"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh"
|
||||
plugin_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/clipboard.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/completion.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/git.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/key-bindings.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/termsupport.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/lib/theme-and-appearance.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[[plugins]]
|
||||
name = "ohmyzsh-plugins"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh"
|
||||
plugin_dir = "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/plugins"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/plugins/copybuffer/copybuffer.plugin.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/plugins/git/git.plugin.zsh", "/home/weger/.local/sheldon/repos/github.com/ohmyzsh/ohmyzsh/plugins/pip/pip.plugin.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[[plugins]]
|
||||
name = "zsh-you-should-use"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/MichaelAquilina/zsh-you-should-use"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/MichaelAquilina/zsh-you-should-use/you-should-use.plugin.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[[plugins]]
|
||||
name = "zsh-autosuggestions"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-autosuggestions"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[[plugins]]
|
||||
name = "zsh-syntax-highlighting"
|
||||
source_dir = "/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-syntax-highlighting"
|
||||
files = ["/home/weger/.local/sheldon/repos/github.com/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"]
|
||||
apply = ["defer"]
|
||||
[templates.PATH]
|
||||
value = "export PATH=\"{{ dir }}:$PATH\""
|
||||
each = false
|
||||
|
||||
[templates.path]
|
||||
value = "path=( \"{{ dir }}\" $path )"
|
||||
each = false
|
||||
|
||||
[templates.fpath]
|
||||
value = "fpath=( \"{{ dir }}\" $fpath )"
|
||||
each = false
|
||||
|
||||
[templates.source]
|
||||
value = "source \"{{ file }}\""
|
||||
each = true
|
||||
|
||||
[templates.defer]
|
||||
value = "zsh-defer source \"{{ file }}\""
|
||||
each = true
|
||||
|
||||
[templates.defer-more]
|
||||
value = "zsh-defer -t 0.5 source \"{{ file }}\""
|
||||
each = true
|
90
dot_config/sheldon/plugins.toml
Normal file
90
dot_config/sheldon/plugins.toml
Normal file
|
@ -0,0 +1,90 @@
|
|||
# Sheldon configuration file
|
||||
#
|
||||
# See https://rossmacarthur.github.io/sheldon/
|
||||
|
||||
[templates]
|
||||
defer = { value = 'zsh-defer source "{{ file }}"', each = true }
|
||||
defer-more = { value = 'zsh-defer -t 0.5 source "{{ file }}"', each = true }
|
||||
|
||||
# Completions
|
||||
# -----------
|
||||
|
||||
[plugins.docker-zsh-completion]
|
||||
github = "greymd/docker-zsh-completion"
|
||||
|
||||
[plugins.rust-zsh-completions]
|
||||
github = "ryutok/rust-zsh-completions"
|
||||
|
||||
[plugins.zsh-completions]
|
||||
github = "zsh-users/zsh-completions"
|
||||
|
||||
# Sourced
|
||||
# -------
|
||||
|
||||
# The history plugin doesn't like being deferred, not sure why.
|
||||
[plugins.history]
|
||||
github = "ohmyzsh/ohmyzsh"
|
||||
dir = "lib"
|
||||
|
||||
#[plugins.path]
|
||||
#local = "~/.zsh/plugins"
|
||||
|
||||
[plugins.pure]
|
||||
github = "rossmacarthur/pure"
|
||||
use = ["{async,pure}.zsh"]
|
||||
|
||||
[plugins.wd]
|
||||
github = "mfaerevaag/wd"
|
||||
apply = ["fpath", "source"]
|
||||
|
||||
[plugins.zsh-defer]
|
||||
github = "romkatv/zsh-defer"
|
||||
|
||||
# Deferred plugins
|
||||
# ----------------
|
||||
|
||||
[plugins.autoenv]
|
||||
github = "zpm-zsh/autoenv"
|
||||
apply = ["defer"]
|
||||
|
||||
#[plugins.dotfiles]
|
||||
#local = "~/.zsh/plugins"
|
||||
#use = ["*.plugin.zsh", "!{compinit,path,pyenv}.plugin.zsh"]
|
||||
#apply = ["defer"]
|
||||
|
||||
[plugins.ohmyzsh-lib]
|
||||
github = "ohmyzsh/ohmyzsh"
|
||||
dir = "lib"
|
||||
use = ["{clipboard,completion,git,key-bindings,termsupport,theme-and-appearance}.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.ohmyzsh-plugins]
|
||||
github = "ohmyzsh/ohmyzsh"
|
||||
dir = "plugins"
|
||||
use = ["{copybuffer,git,pip}/*.plugin.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.zsh-you-should-use]
|
||||
github = "MichaelAquilina/zsh-you-should-use"
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.zsh-autosuggestions]
|
||||
github = "zsh-users/zsh-autosuggestions"
|
||||
use = ["{{ name }}.zsh"]
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.zsh-syntax-highlighting]
|
||||
github = 'zsh-users/zsh-syntax-highlighting'
|
||||
apply = ["defer"]
|
||||
|
||||
# This works best if it is placed last.
|
||||
#[plugins.compinit]
|
||||
#local = "~/.zsh/plugins"
|
||||
#apply = ["defer"]
|
||||
|
||||
# Plugins that are even more deferred
|
||||
# -----------------------------------
|
||||
|
||||
#[plugins.pyenv]
|
||||
#local = "~/.zsh/plugins"
|
||||
#apply = ["defer-more"]
|
Loading…
Add table
Reference in a new issue