summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-29 01:05:37 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-29 01:05:37 +0100
commitc766150cab42f595a6c2934962974690a949dc02 (patch)
tree7c32509666d4e457f8eebb47a79c9dd9a98402e7 /.config/zsh/alias.zsh
parentEmacs logo (diff)
downloaddotfiles-bsd-c766150cab42f595a6c2934962974690a949dc02.tar.gz
dotfiles-bsd-c766150cab42f595a6c2934962974690a949dc02.tar.bz2
dotfiles-bsd-c766150cab42f595a6c2934962974690a949dc02.tar.xz
dotfiles-bsd-c766150cab42f595a6c2934962974690a949dc02.tar.zst
dotfiles-bsd-c766150cab42f595a6c2934962974690a949dc02.zip
New cool highlight aliases
Diffstat (limited to '.config/zsh/alias.zsh')
-rw-r--r--.config/zsh/alias.zsh5
1 files changed, 4 insertions, 1 deletions
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:';
}