Skip to content

Commit

Permalink
feat(bluefin-cli): Add alias for cat
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
p4p4j0hn committed Nov 2, 2024
1 parent dfdabab commit c8d0d9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toolboxes/bluefin-cli/files/etc/profile.d/modern-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
alias find='fd' 2>/dev/null

# bat for cat
alias cat='bat --style=plain --pager=never' 2>/dev/null

0 comments on commit c8d0d9c

Please sign in to comment.