diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2011-05-12 23:51:38 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2011-05-12 23:51:38 +0300 |
commit | c3d5e2f4498f63130f0e4cce588bc1a60a8eea11 (patch) | |
tree | 39d0a11562a8e1b6593b524056deced8bc92c430 | |
parent | fixed: autojump was selecting oldest (not most recent) dirs (diff) | |
download | git-prompt-c3d5e2f4498f63130f0e4cce588bc1a60a8eea11.tar.gz git-prompt-c3d5e2f4498f63130f0e4cce588bc1a60a8eea11.tar.bz2 git-prompt-c3d5e2f4498f63130f0e4cce588bc1a60a8eea11.zip |
--
-rwxr-xr-x | git-prompt.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |