summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-18 16:45:33 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-18 16:45:33 +0200
commit6a5ad1ee5b4c08a3c2847f898b0486848df17add (patch)
treecd963d6b0101c83ea346936139c768cfb32ab4b0 /.config/zsh/alias.zsh
parentfix (diff)
downloaddotfiles-bsd-6a5ad1ee5b4c08a3c2847f898b0486848df17add.tar.gz
dotfiles-bsd-6a5ad1ee5b4c08a3c2847f898b0486848df17add.tar.bz2
dotfiles-bsd-6a5ad1ee5b4c08a3c2847f898b0486848df17add.tar.xz
dotfiles-bsd-6a5ad1ee5b4c08a3c2847f898b0486848df17add.tar.zst
dotfiles-bsd-6a5ad1ee5b4c08a3c2847f898b0486848df17add.zip
Updates
Diffstat (limited to '')
-rw-r--r--.config/zsh/alias.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index 8cb02e1..501e608 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -14,7 +14,7 @@
alias exa='exa --color=always --group-directories-first --icons' \
ls='exa -l'
tree() {
- exa -T $@ | less
+ exa -T $@ | $PAGER
}
alias \
e='editorcmd' \
@@ -175,7 +175,7 @@ alias nb='newsboat' \
highlight='highlight -Oxterm256 -t4' \
hi='highlight'
hil() {
- highlight -Oxterm256 -t4 "$1" | less
+ highlight -Oxterm256 -t4 "$1" | $PAGER
}
search() {
make -C /usr/ports search name=$1 | grep 'Path:';