From c766150cab42f595a6c2934962974690a949dc02 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Dec 2020 01:05:37 +0100 Subject: New cool highlight aliases --- .config/zsh/alias.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/zsh/alias.zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index e2ef4ab..6370419 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -121,10 +121,13 @@ twi() { } alias nb='newsboat' alias mutt='neomutt' -alias nmt='neomutt' alias sxiv='sxiv -b -a' alias pinfo='pkg info -x' alias psearch='pkg search' +alias highlight='highlight -Oxterm256' +hil() { + highlight -Oxterm256 "$1" | less +} search() { make -C /usr/ports search name=$1 | grep 'Path:'; } -- cgit v1.2.3