2024-07-06 11:44:31 +01:00
|
|
|
# Sheldon configuration file
|
2022-07-16 11:34:53 +01:00
|
|
|
#
|
2024-07-06 11:44:31 +01:00
|
|
|
# See https://sheldon.cli.rs
|
2022-07-16 11:34:53 +01:00
|
|
|
#
|
2024-07-06 11:44:31 +01:00
|
|
|
# Also heavily inspired by https://github.com/rossmacarthur/dotfiles/tree/trunk
|
2022-07-16 11:34:53 +01:00
|
|
|
|
|
|
|
shell = "zsh"
|
|
|
|
|
|
|
|
[templates]
|
2024-07-06 11:44:31 +01:00
|
|
|
defer = """{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source "{{ file }}"\n{% endfor %}{{ hooks?.post | nl }}"""
|
|
|
|
defer-more = """{{ hooks?.pre | nl }}{% for file in files %}zsh-defer -t 0.5 source "{{ file }}"\n{% endfor %}{{ hooks?.post | nl }}"""
|
|
|
|
|
2024-07-07 14:03:56 +01:00
|
|
|
# Loading indicator
|
|
|
|
# -----------------
|
|
|
|
|
|
|
|
[plugins.show]
|
|
|
|
local = "~/.zsh/plugins/loading"
|
2024-07-06 11:44:31 +01:00
|
|
|
|
|
|
|
# Completions
|
|
|
|
# -----------
|
|
|
|
|
2024-09-29 14:35:54 +01:00
|
|
|
[plugins.fzf-tab]
|
|
|
|
github = "Aloxaf/fzf-tab"
|
|
|
|
|
2024-07-06 11:44:31 +01:00
|
|
|
[plugins.zsh-completions]
|
|
|
|
github = "zsh-users/zsh-completions"
|
2022-07-16 11:34:53 +01:00
|
|
|
|
2024-07-06 11:44:31 +01:00
|
|
|
# Sourced
|
|
|
|
# -------
|
2022-07-16 11:34:53 +01:00
|
|
|
|
|
|
|
[plugins.zsh-defer]
|
|
|
|
github = "romkatv/zsh-defer"
|
|
|
|
|
2024-07-06 11:44:31 +01:00
|
|
|
# Some of the functions may get used elsewhere
|
|
|
|
# so we do not defer loading
|
|
|
|
[plugins.functions]
|
|
|
|
local = "~/.zsh/plugins"
|
|
|
|
|
|
|
|
# Deferred plugins
|
|
|
|
# ----------------
|
|
|
|
|
|
|
|
[plugins.aliases]
|
|
|
|
local = "~/.zsh/plugins"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
2024-07-07 14:29:58 +01:00
|
|
|
[plugins.fzf]
|
|
|
|
github = "junegunn/fzf"
|
|
|
|
use = ["shell/completion.zsh", "shell/key-bindings.zsh"]
|
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.fzf-completions]
|
|
|
|
local = "~/.zsh/plugins"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
2022-07-16 11:34:53 +01:00
|
|
|
[plugins.zsh-syntax-highlighting]
|
|
|
|
github = "zsh-users/zsh-syntax-highlighting"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.zsh-substring-search]
|
|
|
|
github = "zsh-users/zsh-history-substring-search"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.zsh-autosuggestions]
|
|
|
|
github = "zsh-users/zsh-autosuggestions"
|
|
|
|
apply = ["defer"]
|
|
|
|
use = ["{{ name }}.zsh"]
|
2024-07-06 11:44:31 +01:00
|
|
|
|
|
|
|
[plugins.zsh-you-should-use]
|
|
|
|
github = "MichaelAquilina/zsh-you-should-use"
|
|
|
|
apply = ["defer"]
|
|
|
|
hooks.pre = "export YSU_MODE=ALL"
|
|
|
|
|
|
|
|
[plugins.forgit]
|
|
|
|
github = "wfxr/forgit"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.fnm]
|
|
|
|
local = "~/.zsh/plugins"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.zoxide]
|
2025-02-09 21:35:43 +00:00
|
|
|
github = "ajeetdsouza/zoxide"
|
2024-07-06 11:44:31 +01:00
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
[plugins.mcfly]
|
2025-02-09 21:35:43 +00:00
|
|
|
github = "cantino/mcfly"
|
2024-07-06 11:44:31 +01:00
|
|
|
apply = ["defer"]
|
|
|
|
|
|
|
|
# This works best if it is placed last.
|
|
|
|
[plugins.compinit]
|
|
|
|
local = "~/.zsh/plugins"
|
|
|
|
apply = ["defer"]
|
|
|
|
|
2024-07-07 14:03:56 +01:00
|
|
|
# Loading indicator
|
|
|
|
# -----------------
|
|
|
|
|
|
|
|
[plugins.hide]
|
|
|
|
local = "~/.zsh/plugins/loading"
|
|
|
|
apply = ["defer-more"]
|