From 89fa1a05c9535b9edcdbb08041d1e0dbeb567813 Mon Sep 17 00:00:00 2001 From: "koizumi.aoi" Date: Tue, 15 Nov 2022 12:59:53 +0000 Subject: [PATCH] misc Signed-off-by: Aoi K git-svn-id: file:///srv/svn/repo/mima/trunk@15 d2428f92-30f9-164c-8098-19ee57ce342c --- README.md | 12 +++++++----- cmd/antifetch/main.go | 2 +- man/antifetch.1.mdoc | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c82530c..339ce95 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,12 @@ A silly reimplementation of `nofetch(1)` in Go. ```shell -Soul devotion > ./antifetch -akoizumi (1001) @ mizuki-reborn +akoizumi @ mizuki-reborn + Editor: vim -Operating System: freebsd -Architecture: amd64 -Shell: /bin/sh +System: freebsd +Architecture: amd64 +RAM: 1386M/3967M (40.790361%) +Shell: /bin/sh +Uptime: 0d:1h:17m ``` diff --git a/cmd/antifetch/main.go b/cmd/antifetch/main.go index 5012f01..f695f5d 100644 --- a/cmd/antifetch/main.go +++ b/cmd/antifetch/main.go @@ -28,7 +28,7 @@ func main() { if err != nil { log.Fatal(err) } - + fmt.Printf("%s @ %s\n", os.Getenv("USER"), hostname) fmt.Printf("\n") fmt.Printf("Editor:\t%s\n", os.Getenv("EDITOR")) diff --git a/man/antifetch.1.mdoc b/man/antifetch.1.mdoc index f59b2fb..fc7258b 100644 --- a/man/antifetch.1.mdoc +++ b/man/antifetch.1.mdoc @@ -20,4 +20,4 @@ Scheme program, which has nothing to do with this or the older program. .Sh AUTHORS -.An Aoi K. Aq Mt admin@kyoko-project.wer.ee +.An Aoi K. Aq Mt koizumi.aoi@kyoko-project.wer.ee