summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-prompt.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 9cb4f87..460d8e3 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -642,6 +642,12 @@ enable_set_shell_label() {
}
# autojump (see http://wiki.github.com/joelthelion/autojump)
+
+# TODO reverse the line order of a file
+#awk ' { line[NR] = $0 }
+# END { for (i=NR;i>0;i--)
+# print line[i] }' listlogs
+
j (){
: ${1? usage: j dir-beginning}
# go in ring buffer starting from current index. cd to first matching dir