From 54d716510b6433be0016ae410d307fdf02bee4b5 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 3 Feb 2022 18:56:38 +0100 Subject: [PATCH] git: Drop function in `spull` The function is not needed as git can just execute chains of commands. --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 5a8c4aa..a1cf306 100644 --- a/.config/git/config +++ b/.config/git/config @@ -6,7 +6,7 @@ filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\"" fixes = log -1 --pretty=fixes root = rev-parse --show-toplevel - spull = "!__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull" + spull = "!git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive;" track = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-track\"" [branch] autosetuprebase = always