mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: show hostname and uptime on shell start.
This commit is contained in:
parent
64e8b14733
commit
91601c8989
3
bashrc
3
bashrc
@ -128,6 +128,9 @@ fi
|
||||
#Shopt settings.
|
||||
#shopt -s autocd
|
||||
|
||||
# Show the hostname and uptime on shell start
|
||||
hostname && uptime
|
||||
|
||||
##### Environment 7RS56S #####
|
||||
# Environment should be placed to .environment or .bash_environment (or .bashenv).
|
||||
|
||||
|
3
zshrc
3
zshrc
@ -50,6 +50,9 @@ 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
|
||||
|
||||
##### Environment 7RS56S #####
|
||||
# Environment should be placed to .environment or .zsh_environment (or .zshenv).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user