bashrc & zshrc: add "cwho" to commads run on start

This commit is contained in:
Mika Suomalainen 2013-02-16 09:56:00 +02:00
parent 302a796964
commit c5a4ec0791
2 changed files with 4 additions and 4 deletions

4
bashrc
View File

@ -131,8 +131,8 @@ fi
#Shopt settings. #Shopt settings.
#shopt -s autocd #shopt -s autocd
# Show the hostname and uptime on shell start # Show the hostname, uptime and users logged in on shell start
hostname && uptime hostname && uptime && who -H -w -u
##### Environment 7RS56S ##### ##### Environment 7RS56S #####
# Environment should be placed to .environment or .bash_environment. # Environment should be placed to .environment or .bash_environment.

4
zshrc
View File

@ -72,8 +72,8 @@ zstyle ':completion:*' verbose true
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' 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' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Show the hostname and uptime on shell start # Show the hostname, uptime and users logged in on shell start
hostname && uptime hostname && uptime && who -H -w -u
##### Environment 7RS56S ##### ##### Environment 7RS56S #####
# Environment should be placed to .environment or .zsh_environment (or .zshenv). # Environment should be placed to .environment or .zsh_environment (or .zshenv).