From d097b1a170a4d95b6f2592adefedd0b2bd17023a Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 17 Feb 2013 09:06:07 +0200 Subject: [PATCH] bashrc & zshrc: run visible commands on different lines Meaning hostname, uptime and who --- bashrc | 5 ++++- zshrc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index d4317196..3614c91d 100644 --- a/bashrc +++ b/bashrc @@ -132,7 +132,10 @@ fi #shopt -s autocd # Show the hostname, uptime and users logged in on shell start -hostname && uptime && echo "" && who -H -w -u +hostname +uptime +echo "" +who -H -w -u ##### Environment 7RS56S ##### # Environment should be placed to .environment or .bash_environment. diff --git a/zshrc b/zshrc index c4563af0..44d441b0 100644 --- a/zshrc +++ b/zshrc @@ -73,7 +73,10 @@ 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, uptime and users logged in on shell start -hostname && uptime && echo "" && who -H -w -u +hostname +uptime +echo "" +who -H -w -u ##### Environment 7RS56S ##### # Environment should be placed to .environment or .zsh_environment (or .zshenv).