diff --git a/bashrc b/bashrc index f6660b2..3cb8e3f 100755 --- a/bashrc +++ b/bashrc @@ -66,6 +66,13 @@ mkdir -p "/tmp/${USER}-tmp" ####################### iswindows && alias tty="echo cmd.exe" +type fortune >/dev/null 2>&1 && { + echo + fortune + echo + fortune -o + echo +} uname -a echo TERM $TERM connected to $(tty), running $BASH $BASH_VERSION echo diff --git a/profile b/profile index 5fb9425..5dbe145 100755 --- a/profile +++ b/profile @@ -2,14 +2,6 @@ # ~/.dotfiles/profile -type fortune >/dev/null 2>&1 && { - echo - fortune - echo - fortune -o - echo -} - # export PS1="\$ " # export LANG=ja_JP.UTF-8 export LC_TIME=C @@ -36,4 +28,3 @@ type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 mkdir -p ~/.my/log mkdir -p "/tmp/$USER-tmp" -