Use batcat instead of cat

This commit is contained in:
Augusto Gunsch 2022-04-10 15:45:04 -03:00
parent e9badf48df
commit 0e1fe7b840
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ alias venv="source venv/bin/activate"
# search functions
alias grepa="grep -I -n --color=always -r --exclude-dir=venv --exclude-dir=node_modules"
# cat
alias cat="batcat -p --paging=never"
# pipe yd-dlp to mpv
ytmpv() {
yt-dlp -q -o - "$1" | mpv -