From c5a4ec07910ed35b0597f49332411fa8990d1219 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 16 Feb 2013 09:56:00 +0200 Subject: [PATCH] bashrc & zshrc: add "cwho" to commads run on start --- bashrc | 4 ++-- zshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 8dcb7706..35ac7716 100644 --- a/bashrc +++ b/bashrc @@ -131,8 +131,8 @@ fi #Shopt settings. #shopt -s autocd -# Show the hostname and uptime on shell start -hostname && uptime +# Show the hostname, uptime and users logged in on shell start +hostname && uptime && who -H -w -u ##### Environment 7RS56S ##### # Environment should be placed to .environment or .bash_environment. diff --git a/zshrc b/zshrc index 6189e2ac..5bf74207 100644 --- a/zshrc +++ b/zshrc @@ -72,8 +72,8 @@ zstyle ':completion:*' verbose true zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' -# Show the hostname and uptime on shell start -hostname && uptime +# Show the hostname, uptime and users logged in on shell start +hostname && uptime && who -H -w -u ##### Environment 7RS56S ##### # Environment should be placed to .environment or .zsh_environment (or .zshenv).