Update ZSHRC

This commit is contained in:
Out Of Ideas 2024-05-05 00:36:38 -05:00
parent 05877d773f
commit 3122a00f15
1 changed files with 12 additions and 1 deletions

View File

@ -164,6 +164,7 @@ HISTORY_SUBSTRING_SEARCH_PATH="$PLUGIN_PATH/zsh-history-substring-search/zsh-his
Z_PATH="$PLUGIN_PATH/z-zsh/z-zsh.zsh/zsh-z.plugin.zsh"
YOU_SHOULD_USE_PATH="$PLUGIN_PATH/zsh-you-should-use/you-should-use.plugin.zsh"
AUTO_NOTIFY_PATH="$PLUGIN_PATH/zsh-auto-notify/auto-notify.plugin.zsh"
HISTORY_SEARCH_PATH="$PLUGIN_PATH/H-S-MW/H-S-MW.plugin.zsh"
# Install plugins if they are not already installed
if ! ls $SYNTAX_HIGHLIGHTING_PATH &> /dev/null; then
@ -190,6 +191,10 @@ if ! ls $AUTO_NOTIFY_PATH &> /dev/null; then
git clone https://github.com/MichaelAquilina/zsh-auto-notify $(dirname $AUTO_NOTIFY_PATH)
fi
if ! ls $HISTORY_SEARCH_PATH &> /dev/null; then
git clone https://github.com/z-shell/H-S-MW $(dirname $HISTORY_SEARCH_PATH)
fi
# Syntax Highlighting
source $SYNTAX_HIGHLIGHTING_PATH
@ -205,6 +210,12 @@ source $YOU_SHOULD_USE_PATH
# Z
source $Z_PATH
# Autonotify
source $AUTO_NOTIFY_PATH
# History search
source $HISTORY_SEARCH_PATH
####################
# Foot Integration #
####################
@ -568,7 +579,7 @@ for keyname kcap seq mode widget (
bindkey $seq widget::key-$keyname
}
# Fixes autosuggest completion being overriden by keybindings:
# Fixes autosuggest completion being overriden by keybindings:
# to have [zsh] autosuggest [plugin feature] complete visible
# suggestions, you can assign an array of shell functions to
# the `ZSH_AUTOSUGGEST_ACCEPT_WIDGETS` variable. When these