commit 011c246b6b581fb3a64c69be9ab6b31ba012a7bd parent e0cb947ff6f99ab3423e45bc681fd2ab67d4379b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 9 Nov 2014 14:59:58 +0000 scripts/history: show in reverse order (newest first). Diffstat:
M | scripts/history | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/history b/scripts/history @@ -13,9 +13,9 @@ climenu() { if test x"$DISPLAY" = x""; then clear >&2 - line=$(tail -n 100 "$file" | climenu) + line=$(tail -n 100 "$file" | tac | climenu) else - line=$(tail -n 100 "$file" | xmenu) + line=$(tail -n 100 "$file" | tac | xmenu) fi if test x"$line" != x""; then