Add zsh-autosuggestions

This commit is contained in:
2022-10-20 14:23:45 -05:00
parent 4a3bbdc72e
commit 0919ec2fa4
7 changed files with 8 additions and 3 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "sh/ohmyzsh"]
path = sh/ohmyzsh
url = https://github.com/ohmyzsh/ohmyzsh
[submodule "sh/ohmyzsh-custom/plugins/zsh-autosuggestions"]
path = sh/ohmyzsh-custom/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions

View File

@ -1,6 +1,7 @@
TOOLKIT=/etc/toolkit
ZSH=$TOOLKIT/sh/ohmyzsh
ZSH_THEME="bira"
ZSH_CUSTOM=$TOOLKIT/sh/ohmyzsh-custom
ZSH_CUSTOM_USER_SCRIPTS=$HOME/.zsh-scripts
ZSH_CACHE_DIR=$HOME/.zsh-cache
@ -11,7 +12,7 @@ ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(git)
plugins=(git zsh-autosuggestions)
zstyle ':omz:update' mode auto # update automatically without asking
zstyle ':omz:update' frequency 14

View File

@ -22,7 +22,7 @@ create_dir_if_not_exists() {
}
# Load custom scripts (aliases, variables, etc...)
load_scripts_in_dir $TOOLKIT/sh/custom_scripts
load_scripts_in_dir $TOOLKIT/sh/custom-scripts
# Scripts ran to modify existing toolkit updates
load_scripts_in_dir $TOOLKIT/sh/patch_scripts
load_scripts_in_dir $TOOLKIT/sh/patch-scripts