Add my custom

This commit is contained in:
Michael W Clark 2022-10-14 00:36:46 -05:00
commit 93d04724a7
10 changed files with 164 additions and 3 deletions

14
custom/plugins.zsh Executable file
View file

@ -0,0 +1,14 @@
PLUGINS_DIR=$ZSH/plugins
source $PLUGINS_DIR/git/git.plugin.zsh
source $PLUGINS_DIR/z/z.plugin.zsh
if [ ! -d "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" ]; then
# Take action if $DIR exists. #
echo "Installing zsh autosuggestions..."
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
else
source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
fi
eval "$(gh completion -s zsh)"