Merge pull request 'chore: change cat to batcat' (#3) from change-cat into main

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2025-07-10 20:59:03 +00:00

View File

@@ -1,2 +1,3 @@
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
alias f='selected=$(find . -type f 2>/dev/null | fzf --preview "batcat --style=numbers --color=always {}") && [ -n "$selected" ] && vim "$selected"' alias f='selected=$(find . -type f 2>/dev/null | fzf --preview "batcat --style=numbers --color=always {}") && [ -n "$selected" ] && vim "$selected"'
alias cat='batcat'