Move `git-track` into its own autoloadable function. This way it is better maintainable as in one-liner format and brings the possibility of having more complexity (e.g. for better portability). By that it is also now executable as `git-spull` as well as `git spull` as before.
8 lines
135 B
Bash
Executable File
8 lines
135 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
emulate -L zsh -o err_return
|
|
|
|
git pull "$@"
|
|
git submodule sync --recursive
|
|
git submodule update --init --recursive
|