mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
bashrc & zshrc: run visible commands on different lines
Meaning hostname, uptime and who
This commit is contained in:
parent
b6062f7f76
commit
d097b1a170
5
bashrc
5
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.
|
||||
|
5
zshrc
5
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).
|
||||
|
Loading…
Reference in New Issue
Block a user