| git.druid.rocks | index | druid520 | nbf | nbf.sh |
nbf.sh
#!/usr/bin/env sh
set -e
os=$(uname -srp)
host=$(hostname)
pkgs=$(pkg_info | wc -l | xargs)
shell=$(basename $SHELL)
cat <<EOF
\\\\\`-______.----__ $USER@$host
\\\\ __.---\`_ os: $os
\\\\ \`.____ pkgs: $pkgs (pkg)
\\\\-______.----\`- shell: $shell
\\\\ editor: $EDITOR
\\\\ term: $TERM
\\\\ de/wm: $DESKTOP_SESSION
EOF