Skip to content

Commit fddd624

Browse files
committed
Add --paging=never flag to bat alias
The bat command uses a pager by default which can be disruptive in terminal usage. Adding --paging=never makes bat behave more like cat as a drop-in replacement.
1 parent b970917 commit fddd624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/.devcontainer/setupShellAliases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if ! grep -q "# Modern shell tool aliases" "$ZSHRC" 2>/dev/null; then
1212
1313
# Modern shell tool aliases
1414
alias ls='eza'
15-
alias cat='bat'
15+
alias cat='bat --paging=never'
1616
alias grep='ag'
1717
EOF
1818
echo "Shell aliases configured successfully"

0 commit comments

Comments
 (0)