Use batcat instead of cat
This commit is contained in:
parent
e9badf48df
commit
0e1fe7b840
|
@ -34,6 +34,9 @@ alias venv="source venv/bin/activate"
|
||||||
# search functions
|
# search functions
|
||||||
alias grepa="grep -I -n --color=always -r --exclude-dir=venv --exclude-dir=node_modules"
|
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
|
# pipe yd-dlp to mpv
|
||||||
ytmpv() {
|
ytmpv() {
|
||||||
yt-dlp -q -o - "$1" | mpv -
|
yt-dlp -q -o - "$1" | mpv -
|
||||||
|
|
Loading…
Reference in New Issue