From 94cf2d5ae3be8c3102d2ca9a9d2a715663b052df Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 15 Nov 2018 18:07:41 +0900 Subject: [PATCH] Add some start message --- shrc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/shrc b/shrc index 57b23a9..ba3adc6 100755 --- a/shrc +++ b/shrc @@ -204,18 +204,23 @@ command -v fortune >/dev/null && { echo } -if null type figlet && null type lolcat -then - echo `whoami`@`hostname` | figlet | lolcat -fi - uname -a $iswindows && alias tty="echo cmd.exe" echo TERM $TERM with $(tput colors) colors using $(tty) echo umask: `umask -S` +if null type figlet && null type lolcat +then + echo `whoami`@`hostname` | figlet | lolcat +fi + +echo +__safe_run id `whoami` +# echo +## A bit heavy command +# finger `whoami` echo -__safe_run w yuk +__safe_run w `whoami` # if null type tmux # then @@ -796,7 +801,7 @@ showinfo(){ } $iswindows || __safe_run finger $USER - LANG=C __safe_runc id + LANG=C __safe_run id __safe_run xset q }