Skip to content

Commit

Permalink
πŸ‚
Browse files Browse the repository at this point in the history
  • Loading branch information
skalnik committed Feb 14, 2024
1 parent bbae9e0 commit ab39f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fish/functions/cat.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
function cat --description 'Replace `cat` with `bat` if available'
if type -q bat
command bat $argv
else
set --local CAT $(which cat)
command $CAT $argv
end
end

0 comments on commit ab39f22

Please sign in to comment.