mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: add "cwho" to commads run on start
This commit is contained in:
parent
302a796964
commit
c5a4ec0791
4
bashrc
4
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.
|
||||
|
4
zshrc
4
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).
|
||||
|
Loading…
Reference in New Issue
Block a user