From c3d5e2f4498f63130f0e4cce588bc1a60a8eea11 Mon Sep 17 00:00:00 2001 From: Leonid Volnitsky Date: Thu, 12 May 2011 23:51:38 +0300 Subject: -- --- git-prompt.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git-prompt.sh b/git-prompt.sh index 6d000ba..f05165a 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -631,6 +631,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 -- cgit v1.2.3