~torresjrjr/fetch

A fetch for MSYS2 on Windows
Revert 015c94b "Use ps formatting to simplify..."
Improve README.md
Fix README.md

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~torresjrjr/fetch
read/write
git@git.sr.ht:~torresjrjr/fetch

You can also use your local clone with git send-email.

#fetch

A small, colourful systems info prompt, written in hackable POSIX sh. Originally for MSYS2 on Windows, compatible with UNIX-likes.

$ fetch
      ~       user@host Tue, 20 Apr 2021 14:00:00 +0100
     .-.      os      Msys
    /`v`\     kernel  MSYS_NT-10.0-19042 3.1.7-340.x86_64
   (/   \)    shell   /usr/bin/bash
====="="===<  sshd    266   41764   41768
     |_|      tmux    meh:4   astro:2   gmni:1   comm:2

Overwrite functions locally at $XDG_CONFIG_HOME/fetch/config.sh.

# ~/.config/fetch/config.sh
graphic() {
	# see formatters()
	env printf "${c4}%s\n" \
		'      .      ' \
		'     / \     ' \
		'    /   \    ' \
		'   /     \   ' \
		'  /  .-.  \  ' \
		' /.-    `-.\ '
}

Send patches and questions to ~torresjrjr/public-inbox@lists.sr.ht (see mailing list etiquette and git-send-email.io).

License: GNU General Public License