Add srcless alias.

This commit is contained in:
David Tomaschik
2020-03-07 18:48:29 -08:00
parent ad73f12103
commit a6414425b7
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
test -f /usr/share/source-highlight/src-hilite-lesspipe.sh && \
function srcless {
if [ $# -ne 1 ] ; then
echo "$0 <what>" > /dev/stderr
return 1
fi
/usr/share/source-highlight/src-hilite-lesspipe.sh $1 | less -R
}

View File

@@ -37,6 +37,7 @@ radare2
scapy scapy
scdaemon scdaemon
socat socat
source-highlight
sqlite3 sqlite3
ufw ufw
zsh-syntax-highlighting zsh-syntax-highlighting