blob: 4190e61d2ea4a042a5176c65d5b69b2be29f865b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
:100644 100644 2744b00 0000000 M lib/scm_breeze.sh
diff --git a/lib/scm_breeze.sh b/lib/scm_breeze.sh
index 2744b00..07781d5 100644
--- a/lib/scm_breeze.sh
+++ b/lib/scm_breeze.sh
@@ -70,20 +70,6 @@ find_binary(){
export GIT_BINARY=$(find_binary git)
-# Updates SCM Breeze from GitHub.
-update_scm_breeze() {
- currDir=$PWD
- cd "$scmbDir"
- oldHEAD=$(git rev-parse HEAD 2> /dev/null)
- git pull origin master
- # Reload latest version of '_create_or_patch_scmbrc' function
- source "$scmbDir/lib/scm_breeze.sh"
- _create_or_patch_scmbrc $oldHEAD
- # Reload SCM Breeze
- source "$scmbDir/scm_breeze.sh"
- cd "$currDir"
-}
-
# Create '~/.*.scmbrc' files, or attempt to patch them if passed a previous revision
_create_or_patch_scmbrc() {
patchfile=$(mktemp -t tmp.XXXXXXXXXX)
@@ -110,6 +96,3 @@ _create_or_patch_scmbrc() {
fi
done
}
-
-# Update ~/.scmbrc, ~/.git.scmbrc, etc. from latest commit
-alias update_scmbrc_from_latest_commit="_create_or_patch_scmbrc HEAD~"
|