From 3fe141f444c117a67adcab6591f374a5a9fee1b1 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 19 Mar 2012 19:56:54 +0900 Subject: [PATCH] fortune --- bashrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bashrc b/bashrc index 7d0803d..ab5ba26 100755 --- a/bashrc +++ b/bashrc @@ -62,6 +62,15 @@ fi uname -a +null type fortune && { + echo + fortune + echo + fortune -o + echo +} + + if [ "${EMACS}" = "t" ]; then # for emacs shell true export PS1="\u@\H \d \t \w\nemacs shell\$ " elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term @@ -401,6 +410,7 @@ ip-address(){ } __my_prompt_function(){ # used by PS1 + # remove __try_exec from function local lastreturn=$? if test "${TERM}" == dumb then