From 23b463c613c15927b4b4a77ccd2a01def16f783a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 26 Jul 2012 16:05:26 +0900 Subject: [PATCH] move fortune to bashrc --- bashrc | 7 +++++++ profile | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) 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" -