diff options
-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 |