From c8d0d9c56c25c1f992eb29679fa3e47151930f9a Mon Sep 17 00:00:00 2001 From: John Schmidt Date: Sat, 2 Nov 2024 09:52:36 -0700 Subject: [PATCH] feat(bluefin-cli): Add alias for cat Fixes issue #67 This adds an alias for cat to use bat without line numbers or paging so we get the same behaviour as cat with the syntax highlighting from bat. --- toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh b/toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh index 1b38fd0..efbf424 100644 --- a/toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh +++ b/toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh @@ -17,4 +17,7 @@ alias xzfgrep='rg -z -F' 2>/dev/null alias cd='cd' 2>/dev/null # Fd for find -alias find='fd' 2>/dev/null \ No newline at end of file +alias find='fd' 2>/dev/null + +# bat for cat +alias cat='bat --style=plain --pager=never' 2>/dev/null