Permalink
Browse files

add gcam and gcim git commit shortcuts

  • Loading branch information...
1 parent 98be4a6 commit e8ba88fb4ef46c0b1b4da4dfb6b4391a30bf2d78 @elgenie committed Nov 6, 2011
Showing with 12 additions and 7 deletions.
  1. +1 −0 README
  2. +11 −7 shell/functions.bash
View
1 README
@@ -0,0 +1 @@
+.xyz Config Files
View
@@ -9,16 +9,20 @@ fssh () {
sudo ssh $HOST $@
}
-alias chan="fssh channel%03g.sf2p"
-alias pres="fssh presence%03g.sf2p"
-alias chlog="fssh chatlog%03g.sf2p"
-alias aim="fssh appproxy%03g.sf2p"
-alias jab="fssh jabber%03g.sf2p"
-
mkcd () {
mkdir -p "$1" && cd "$1";
}
-srch() {
+# git commit all with message
+gcam () {
+ git commit -a -m "$*";
+}
+
+# git commit incremental with message
+gcim () {
+ git commit -m "$*";
+}
+
+srch () {
git show -w $(git svn find-rev r$1);
}

0 comments on commit e8ba88f

Please sign in to comment.