Browse Source

move fortune to bashrc

pull/1/head
10sr 12 years ago
parent
commit
23b463c613
2 changed files with 7 additions and 9 deletions
  1. +7
    -0
      bashrc
  2. +0
    -9
      profile

+ 7
- 0
bashrc View File

@@ -66,6 +66,13 @@ mkdir -p "/tmp/${USER}-tmp"
####################### #######################


iswindows && alias tty="echo cmd.exe" iswindows && alias tty="echo cmd.exe"
type fortune >/dev/null 2>&1 && {
echo
fortune
echo
fortune -o
echo
}
uname -a uname -a
echo TERM $TERM connected to $(tty), running $BASH $BASH_VERSION echo TERM $TERM connected to $(tty), running $BASH $BASH_VERSION
echo echo


+ 0
- 9
profile View File

@@ -2,14 +2,6 @@


# ~/.dotfiles/profile # ~/.dotfiles/profile


type fortune >/dev/null 2>&1 && {
echo
fortune
echo
fortune -o
echo
}

# export PS1="\$ " # export PS1="\$ "
# export LANG=ja_JP.UTF-8 # export LANG=ja_JP.UTF-8
export LC_TIME=C 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 ~/.my/log
mkdir -p "/tmp/$USER-tmp" mkdir -p "/tmp/$USER-tmp"


Loading…
Cancel
Save