Added "more", which is an alias for less with lesspipe

This commit is contained in:
Tobias Schmidl 2015-03-12 11:47:21 +01:00
parent 2e43676608
commit d90025b16e

View file

@ -32,6 +32,7 @@ alias vdir='vdir --color=auto'
alias wake_dominik="wakeonlan '00:19:99:d5:da:2f'"; alias wake_dominik="wakeonlan '00:19:99:d5:da:2f'";
alias wake_office="wakeonlan '00:19:99:C4:D4:54'"; alias wake_office="wakeonlan '00:19:99:C4:D4:54'";
alias xzc='xz --best --extreme' alias xzc='xz --best --extreme'
alias more='LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s" LESS=" -R " less'
function ddg() { www-browser "https://duckduckgo.com/?q=`escape "$@"`"; } function ddg() { www-browser "https://duckduckgo.com/?q=`escape "$@"`"; }
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; } function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
function gg() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; } function gg() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; }