~xdavidwu/dotfiles

e98c89067f20750115806e75d14744114ce90100 — xdavidwu 3 years ago 45d506f
bashrc: add vidcat with ffmpeg & imgcat
1 files changed, 4 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +4 -0
@@ 134,6 134,10 @@ imgcat() {
	convert "$@" $EXTRA sixel:-
}

vidcat() {
	ffmpeg -i "$@" -loglevel warning -vframes 1 -f apng - | imgcat -
}

# application envs
# policy: should here even if global like /etc/environments
export GPG_TTY=$(tty)