diff --git a/.config/zsh/plugins/zsh-autosuggestions b/.config/zsh/plugins/zsh-autosuggestions new file mode 160000 index 0000000..ae315de --- /dev/null +++ b/.config/zsh/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2cbbdf1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule ".config/zsh/plugins/zsh-autosuggestions"] + path = .config/zsh/plugins/zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions.git + branch = master diff --git a/README.md b/README.md index ee836be..5db79cd 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,15 @@ dot add /path/to/file dot commit -m "some message" dot push ``` +## add 3rd party repositories or update them +```sh +#move to where you want to place the module +# e.g. .config/zsh/plugins +dot submodule add -b master https://github.com/PATH/TO.git + +#update submodules +dot submodule update --remote +``` ## move to a new computer ```sh cd