logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://hacktivis.me/git/dotfiles.git
commit: 508d7143a70b74f835745e02ab3fc22ddb655b85
parent a4cb0688c68f54e4e6d554bb290be1b9442a47d2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 24 Jul 2022 04:58:02 +0200

.common.sh: ghetto finger

Diffstat:

M.common.sh7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.common.sh b/.common.sh @@ -237,6 +237,13 @@ ip2asn_arg() { echo "$@" | nc whois.cymru.com 43 } +if ! command -v finger +then + finger() { + echo "${1//@*}" | dial -e "tcp!${1//*@}!finger" + } +fi + # startup stty sane # I can haz urandom