From 179f2d666a50f80715b1a2f80ba8fb48e7ac03b9 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Tue, 20 May 2025 10:03:18 -0700 Subject: Use submodule zsh-users scripts --- zsh/.config/zsh/osx/init.zsh | 7 ------- zsh/.config/zsh/plugins/zsh-autosuggestions | 1 + zsh/.config/zsh/plugins/zsh-syntax-highlighting | 1 + zsh/.config/zsh/setup/tools.zsh | 5 +++++ 4 files changed, 7 insertions(+), 7 deletions(-) create mode 160000 zsh/.config/zsh/plugins/zsh-autosuggestions create mode 160000 zsh/.config/zsh/plugins/zsh-syntax-highlighting (limited to 'zsh') 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" #-- -- export PINENTRY_USER_DATA="PINENTRY_USE_MAC" #-- -- - -#-- -- -# 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 -#-- diff --git a/zsh/.config/zsh/plugins/zsh-autosuggestions b/zsh/.config/zsh/plugins/zsh-autosuggestions new file mode 160000 index 0000000..0e810e5 --- /dev/null +++ b/zsh/.config/zsh/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit 0e810e5afa27acbd074398eefbe28d13005dbc15 diff --git a/zsh/.config/zsh/plugins/zsh-syntax-highlighting b/zsh/.config/zsh/plugins/zsh-syntax-highlighting new file mode 160000 index 0000000..5eb677b --- /dev/null +++ b/zsh/.config/zsh/plugins/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 5eb677bb0fa9a3e60f0eff031dc13926e093df92 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)" #-- -- +#-- -- +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" +#-- -- -- cgit v1.2.3-70-g09d2