From 271ca53febdf948e15bdc1472c9e8763fc4b9ef9 Mon Sep 17 00:00:00 2001 From: k1574 Date: Thu, 29 Jul 2021 13:07:03 +0500 Subject: [PATCH 1/2] Fixed "aes" error output. --- profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profile b/profile index cc4399e..22ba52c 100644 --- a/profile +++ b/profile @@ -70,7 +70,7 @@ xmodmap = $lib/xmodmap switch( `{uname} ){ case ( Linux NetBSD DragonFly OpenBSD FreeBSD ) # On Unix-like systems. - if(which aes > /dev/null){ + if(which aes >/dev/null >[2=1]){ LESS_TERMCAP_md = `{aes fg-red bold } LESS_TERMCAP_me = `{aes end} LESS_TERMCAP_us = `{aes fg-green bold} @@ -123,6 +123,7 @@ fn ll { cdfile = $tmp/cdfile +if(! test -d `{dirname $cdfile}) mkdir `{dirname $cdfile} if(! test -r $cdfile) touch $cdfile fn ucds { From b818fa04c013c957c248ecca6bb6c396ad35bc60 Mon Sep 17 00:00:00 2001 From: k1574 Date: Sun, 15 Aug 2021 02:28:43 +0500 Subject: [PATCH 2/2] profile: added "m" function. --- profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profile b/profile index 22ba52c..06244f0 100644 --- a/profile +++ b/profile @@ -174,6 +174,12 @@ fn q { exit } +fn m { + for(i in $*){ + man $man/$i | less + } +} + # Setting enviroment. if(test -r $setenv){ . $setenv