From 309e1f1d995c4dee8aeaa8f1ee5240a758cdf995 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sat, 5 Feb 2022 01:02:48 +0100 Subject: [PATCH] Disable paging in bat. --- zsh/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 0459361..c92db0d 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -1,7 +1,7 @@ alias grep='grep --color' alias less='less -r' if [ $(command -v bat) ]; then - alias cat='bat --color=always --tabs=2 --style plain --theme=Monokai\ Extended\ Bright' + alias cat='bat -pp --color=always --tabs=2 --theme=Monokai\ Extended\ Bright' fi if [ $(command -v exa) ]; then alias ls='exa --group-directories-first'