dot

packages and services management
Log | Files | Refs | README

commit f4aef7eec2ae709ea84fe8875494a2f20ef3270e
parent 61dc7b0617b523fbfe133e601fd67ccad66f7259
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Mon,  3 Apr 2017 23:49:45 +0200

added aha

Diffstat:
M.profile | 7+++----
Mbin/io-path | 2+-
Mbin/rfc | 2+-
Abuild/aha | 3+++
4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.profile b/.profile @@ -71,7 +71,6 @@ alias count='echo "$(( ))"' -if [ "$TERM" = 'linux' ] -then - setfont "$CONFIG/consolefonts/terminus-16n.psf" -fi +case "$(tty)" in +( /dev/tty* ) setfont "$CONFIG/consolefonts/inconsolata-16n.psf" ;; +esac diff --git a/bin/io-path b/bin/io-path @@ -15,4 +15,4 @@ then exit 0 fi -$0 "$(find . -maxdepth 1 | sed 's|^./||' | iomenu)" || exit 1 +$0 "$(find . -maxdepth 1 | sed 's|^./||' | iomenu -p "$PWD")" || exit 1 diff --git a/bin/rfc b/bin/rfc @@ -1,5 +1,5 @@ # download and print an RFC from ietf.org wget -q -O- http://www.ietf.org/rfc/rfc"$1".txt | -awk -v RS='\n\n[^\n]*\n\f\n[^\n]*\n\n\n' '{ print; }' | +awk -v RS='\n*[^\n]*\n\f\n[^\n]*\n*' '{ print $0 "\n"; }' | less diff --git a/build/aha b/build/aha @@ -0,0 +1,3 @@ +# Ansi HTML Adapter + +tar=http://github.com/theZiz/aha/archive/master.tar.gz