summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth <lizhunt@amazon.com>2025-05-20 10:03:18 -0700
committerElizabeth <lizhunt@amazon.com>2025-05-20 10:03:18 -0700
commit179f2d666a50f80715b1a2f80ba8fb48e7ac03b9 (patch)
tree2e8d24cdf04f559c4bd93042e6420cb9bd505fee
parent38022392c622872d6a02c83ca5438b7f92253a48 (diff)
downloaddotfiles-179f2d666a50f80715b1a2f80ba8fb48e7ac03b9.tar.gz
dotfiles-179f2d666a50f80715b1a2f80ba8fb48e7ac03b9.zip
Use submodule zsh-users scripts
-rw-r--r--.gitmodules10
-rwxr-xr-xzsh/.config/zsh/osx/init.zsh7
m---------zsh/.config/zsh/plugins/zsh-autosuggestions0
m---------zsh/.config/zsh/plugins/zsh-syntax-highlighting0
-rwxr-xr-xzsh/.config/zsh/setup/tools.zsh5
5 files changed, 15 insertions, 7 deletions
diff --git a/.gitmodules b/.gitmodules
index 9df473e..796be5d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,7 +2,17 @@
path = tmux/.tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
shallow = true
+
[submodule "alacritty/.config/alacritty/alacritty-theme"]
path = alacritty/.config/alacritty/alacritty-theme
url = https://github.com/alacritty/alacritty-theme
shallow = true
+
+[submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"]
+ path = zsh/.config/zsh/plugins/zsh-autosuggestions
+ url = https://github.com/zsh-users/zsh-autosuggestions
+ shallow = true
+[submodule "zsh/.config/zsh/plugins/zsh-syntax-highlighting"]
+ path = zsh/.config/zsh/plugins/zsh-syntax-highlighting
+ url = https://github.com/zsh-users/zsh-syntax-highlighting
+ shallow = true
diff --git a/zsh/.config/zsh/osx/init.zsh b/zsh/.config/zsh/osx/init.zsh
index 40a3d8d..0cb288d 100755
--- a/zsh/.config/zsh/osx/init.zsh
+++ b/zsh/.config/zsh/osx/init.zsh
@@ -11,10 +11,3 @@ export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
#-- <gpg> --
export PINENTRY_USER_DATA="PINENTRY_USE_MAC"
#-- </gpg> --
-
-#-- <zsh> --
-# brew install zsh-syntax-highlighting
-source $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-# brew install zsh-autosuggestions
-source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh
-#-- </zsh>
diff --git a/zsh/.config/zsh/plugins/zsh-autosuggestions b/zsh/.config/zsh/plugins/zsh-autosuggestions
new file mode 160000
+Subproject 0e810e5afa27acbd074398eefbe28d13005dbc1
diff --git a/zsh/.config/zsh/plugins/zsh-syntax-highlighting b/zsh/.config/zsh/plugins/zsh-syntax-highlighting
new file mode 160000
+Subproject 5eb677bb0fa9a3e60f0eff031dc13926e093df9
diff --git a/zsh/.config/zsh/setup/tools.zsh b/zsh/.config/zsh/setup/tools.zsh
index 1fc8844..fd66b63 100755
--- a/zsh/.config/zsh/setup/tools.zsh
+++ b/zsh/.config/zsh/setup/tools.zsh
@@ -13,3 +13,8 @@ alias cd="z"
eval "$(starship init zsh)"
#-- </starship> --
+#-- <zsh_enhancements> --
+export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#626262,underline'
+source "$ZDOTDIR/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
+source "$ZDOTDIR/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
+#-- </zsh_enhancements> --