From 86c02a96942ea33ad99932e911c06c1f579118b9 Mon Sep 17 00:00:00 2001 From: Ambrevar Date: Wed, 5 Sep 2012 16:26:43 +0200 Subject: [PATCH] Shell: lesspipe support. Required apps are in .pkg lists. --- .pkg-arch-explicit-edf23ads | 7 +++++++ .pkg-arch-official-edf23ads | 8 ++++++++ .shell.d/main_rc | 5 +++-- README | 5 +++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.pkg-arch-explicit-edf23ads b/.pkg-arch-explicit-edf23ads index 7221d3aa..2af4d233 100644 --- a/.pkg-arch-explicit-edf23ads +++ b/.pkg-arch-explicit-edf23ads @@ -19,6 +19,7 @@ bison bzip2 calc ccrypt +cdrtools cifs-utils cmus coreutils @@ -83,11 +84,13 @@ htop hunspell-en hunspell-fr hwids +id3v2 ifplugd indent inetutils initscripts inkscape +iotop iptables iputils isomaster @@ -98,6 +101,7 @@ ladspa laptop-mode-tools latex2rtf less +lesspipe libaio libavc1394 libcap-ng @@ -175,6 +179,8 @@ pkgtools ppp procps-ng psmisc +pstotext +psutils pwgen pwsafe python2-dbus @@ -223,6 +229,7 @@ tree ttf-dejavu ttf-freefont unrar +unrtf unzip upx urxvt-perls-git diff --git a/.pkg-arch-official-edf23ads b/.pkg-arch-official-edf23ads index c4218fa3..7ce8ea87 100644 --- a/.pkg-arch-official-edf23ads +++ b/.pkg-arch-official-edf23ads @@ -33,6 +33,7 @@ cairomm calc ccrypt cdparanoia +cdrtools cifs-utils cloog cmus @@ -160,6 +161,8 @@ hunspell-fr hwids iana-etc icu +id3lib +id3v2 ifplugd imagemagick imlib2 @@ -168,6 +171,7 @@ inetutils initscripts inkscape inputproto +iotop iproute2 iptables iputils @@ -193,6 +197,7 @@ lcms lcms2 ldns less +lesspipe libaio libarchive libass @@ -421,6 +426,8 @@ ppl ppp procps-ng psmisc +pstotext +psutils pth pwgen pwsafe @@ -493,6 +500,7 @@ ttf-freefont tzdata udisks unrar +unrtf unzip upx usbutils diff --git a/.shell.d/main_rc b/.shell.d/main_rc index 3ae06dea..27a5160b 100644 --- a/.shell.d/main_rc +++ b/.shell.d/main_rc @@ -46,6 +46,9 @@ fi export MANPAGER="less -s" export MANWIDTH=80 +## Less config. -R is needed for lesspipe. +export LESS=' -R ' + ## Time display (with ls command for example) export TIME_STYLE=+"|%Y-%m-%d %H:%M:%S|" @@ -58,13 +61,11 @@ if [ -n "$(command -v vim)" ]; then EDITOR=vim fi if [ -n "$(command -v emacs)" ]; then - #EDITOR=emacs EDITOR='emacsclient -a "" -t' fi export EDITOR ## Internet Browser -# [ -e "/usr/bin/firefox" ] && export BROWSER="firefox" [ -e "/usr/bin/luakit" ] && export BROWSER="luakit" ## Title diff --git a/README b/README index 60ae17c1..1009fc72 100644 --- a/README +++ b/README @@ -168,6 +168,7 @@ cal calc catdvi ccrypt +cdrtools chrpath cmus column @@ -205,9 +206,11 @@ hdparm help2man highlight htop +id3v2 imagemagick indent inkscape +iotop irssi latex2html latex2rtf @@ -240,6 +243,7 @@ parted patch pidgin poppler +pstotext pwgen pwsafe ranger @@ -269,6 +273,7 @@ tig trash-cli tree udiskie +unrtf upx valgrind vim