From e240e96f298c1b2146077abe3d9a1ae7371ad757 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 20 Mar 2021 14:09:08 -0500 Subject: [PATCH] Added fbc: paste from pipe, with the paste named like the command run --- .bashrc.d/fbc.bash | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .bashrc.d/fbc.bash diff --git a/.bashrc.d/fbc.bash b/.bashrc.d/fbc.bash new file mode 100644 index 0000000..725c2eb --- /dev/null +++ b/.bashrc.d/fbc.bash @@ -0,0 +1,3 @@ +fbc() { + "$@" |& tee /dev/fd/2 | fb -n "$*" +}