From 2e54a9eef2d6c625f1d7c6f8f082eca976bf2f2f Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 2 Jun 2023 10:04:45 +0200 Subject: [PATCH] zsh: use btm instead of top --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 032b9d1..3df74fa 100644 --- a/.zshrc +++ b/.zshrc @@ -113,10 +113,11 @@ export BAT_PAGER="less -r" alias c='cut -c-${COLUMNS}' alias e='tmux-edit-helper' alias dotgit='git --work-tree $HOME --git-dir $HOME/.dot_git' -alias l='bat --wrap=never' +alias l='bat --wrap=never --pager="less -S"' alias ls=exa alias tail='tail -n $LINES' alias timestamp='TZ=Z date "+%Y%m%dT%H%M%SZ"' +alias top='btm --basic --enable_cache_memory --enable_gpu_memory --battery' alias v=vgrep alias ve='env EDITOR= vgrep -s' alias xc=clip