summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfetch.sh3
-rwxr-xr-xgit-base.sh4
2 files changed, 3 insertions, 4 deletions
diff --git a/fetch.sh b/fetch.sh
new file mode 100755
index 0000000..2bf3b45
--- /dev/null
+++ b/fetch.sh
@@ -0,0 +1,3 @@
+source $DOTFILES/zsh/git-prompt/git-base.sh
+
+fetch;
diff --git a/git-base.sh b/git-base.sh
index a4680c6..cf67198 100755
--- a/git-base.sh
+++ b/git-base.sh
@@ -86,10 +86,6 @@ time_to_update() {
fi
}
-fetch_async() {
- fetch &
-}
-
fetch() {
if time_to_update; then
record_timestamp