From a07f5ad2079a9903ab9e043b4d4d92c32d7f6c43 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Sun, 29 Aug 2021 11:19:58 +0200 Subject: [PATCH 1/5] Update dot_config/zsh/readme.md --- dot_config/zsh/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/zsh/readme.md b/dot_config/zsh/readme.md index 6082433..aeafb04 100644 --- a/dot_config/zsh/readme.md +++ b/dot_config/zsh/readme.md @@ -1 +1 @@ -brew install dust duf gping gron hexyl httpie lf lnav miller procs pueue rm-improved sd tokei git-delta bat exa lsd fd ripgrep cantino/mcfly/mcfly choose-rust jq jc cheat tldr clementtsang/bottom/bottom glances hyperfine curlie xh zoxide dog asciinema bpytop up yxdunc/tools/lipl xsv q asdf sachaos/tap/viddy chezmoi navi fx kdabir/tap/has +brew install dust duf gping gron hexyl httpie lf lnav miller procs pueue rm-improved sd tokei git-delta bat exa lsd fd ripgrep cantino/mcfly/mcfly choose-rust jq jc cheat tldr clementtsang/bottom/bottom glances hyperfine curlie xh zoxide dog asciinema bpytop up yxdunc/tools/lipl xsv q asdf sachaos/tap/viddy chezmoi navi fx kdabir/tap/has hub gh sheldon starship From de78f892a674bd136120ecc72dc0dd735ffc6a60 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Tue, 31 Aug 2021 11:57:28 +0200 Subject: [PATCH 2/5] Update dot_config/zsh/readme.md --- dot_config/zsh/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/zsh/readme.md b/dot_config/zsh/readme.md index aeafb04..cdf5441 100644 --- a/dot_config/zsh/readme.md +++ b/dot_config/zsh/readme.md @@ -1 +1 @@ -brew install dust duf gping gron hexyl httpie lf lnav miller procs pueue rm-improved sd tokei git-delta bat exa lsd fd ripgrep cantino/mcfly/mcfly choose-rust jq jc cheat tldr clementtsang/bottom/bottom glances hyperfine curlie xh zoxide dog asciinema bpytop up yxdunc/tools/lipl xsv q asdf sachaos/tap/viddy chezmoi navi fx kdabir/tap/has hub gh sheldon starship +brew install dust duf gping gron hexyl httpie lf lnav miller procs pueue rm-improved sd tokei git-delta bat exa lsd fd ripgrep cantino/mcfly/mcfly choose-rust jq jc cheat tldr clementtsang/bottom/bottom glances hyperfine curlie xh zoxide dog asciinema bpytop up yxdunc/tools/lipl xsv q asdf sachaos/tap/viddy chezmoi navi fx kdabir/tap/has hub gh sheldon starship xwmx/taps/nb From f4e172dd229b093f59a6ed4220e17783286b31dc Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Tue, 31 Aug 2021 12:34:53 +0200 Subject: [PATCH 3/5] Add dot_config/sheldon/.keep Add dot_config/sheldon/plugins.lock Add dot_config/sheldon/plugins.toml --- dot_config/sheldon/.keep | 0 dot_config/sheldon/plugins.lock | 112 ++++++++++++++++++++++++++++++++ dot_config/sheldon/plugins.toml | 90 +++++++++++++++++++++++++ 3 files changed, 202 insertions(+) create mode 100644 dot_config/sheldon/.keep create mode 100644 dot_config/sheldon/plugins.lock create mode 100644 dot_config/sheldon/plugins.toml diff --git a/dot_config/sheldon/.keep b/dot_config/sheldon/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/sheldon/plugins.lock b/dot_config/sheldon/plugins.lock new file mode 100644 index 0000000..bf1f0c9 --- /dev/null +++ b/dot_config/sheldon/plugins.lock @@ -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 diff --git a/dot_config/sheldon/plugins.toml b/dot_config/sheldon/plugins.toml new file mode 100644 index 0000000..b7cedb8 --- /dev/null +++ b/dot_config/sheldon/plugins.toml @@ -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"] From 665d3b477a5e4e5ae21d92cfd8aea7a061062816 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Tue, 31 Aug 2021 12:35:34 +0200 Subject: [PATCH 4/5] Add dot_config/starship/.keep --- dot_config/starship/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dot_config/starship/.keep diff --git a/dot_config/starship/.keep b/dot_config/starship/.keep new file mode 100644 index 0000000..e69de29 From 5da3b03beb9e2656935c1f5c8da3b62102275317 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Tue, 31 Aug 2021 12:35:53 +0200 Subject: [PATCH 5/5] Add dot_config/zsh/.keep --- dot_config/zsh/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dot_config/zsh/.keep diff --git a/dot_config/zsh/.keep b/dot_config/zsh/.keep new file mode 100644 index 0000000..e69de29