瀏覽代碼

Add some start message

master
10sr 5 年之前
父節點
當前提交
94cf2d5ae3
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 12 行新增7 行删除
  1. +12
    -7
      shrc

+ 12
- 7
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
}



Loading…
取消
儲存