Skip to content

Commit

Permalink
setup sheldon
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 committed Mar 30, 2024
1 parent 7d0776a commit c0c67f9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/deploy-config-files
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ mkdir -p ~/.config
# zsh
./bin/ln-idempotently ./config/.zshenv ~/.zshenv
./bin/ln-idempotently ./config/.config/zsh ~/.config/zsh
./bin/ln-idempotently ./config/.config/sheldon ~/.config/sheldon
./bin/ln-idempotently ./config/.config/starship.toml ~/.config/starship.toml

# vim
Expand Down
19 changes: 19 additions & 0 deletions config/.config/sheldon/plugins.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
shell = "zsh"

[templates]
defer = "{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks?.post | nl }}"

[plugins.zsh-defer]
github = "romkatv/zsh-defer"

[plugins.zsh-completions]
github = "zsh-users/zsh-completions"
apply = ["defer"]

[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
apply = ["defer"]

[plugins.zsh-syntax-highlighting]
github = "zsh-users/zsh-syntax-highlighting"
apply = ["defer"]
2 changes: 2 additions & 0 deletions config/.config/zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
source $HOME/.config/zsh/legacy/exports.zsh
source $HOME/.config/zsh/legacy/aliases.zsh

eval "$(sheldon source)"

bindkey -e # emacs emulation
autoload -Uz add-zsh-hook

Expand Down

0 comments on commit c0c67f9

Please sign in to comment.