home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tmux session count to motd
[khome.git]
/
home
/
lib
/
login_functions.sh
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
4fc413f
..
4680be2
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-399,6
+399,10
@@
motd() {
echo
+ printf 'tmux sessions: %d\n' "$(tmux ls | wc -l)"
+
+ echo
+
printf 'mem '
free \
| awk '$1 == "Mem:" {total=$2; used=$3; print used, total}' \
This page took
0.031195 seconds
and
4
git commands to generate.