From c5f8f7343d0e55be8c3c886c5ec2fd2b07638c57 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 12 Mar 2012 11:37:15 +0900 Subject: [PATCH] misc changes --- bashrc | 9 +++++---- profile | 9 ++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bashrc b/bashrc index f95b3c8..721509d 100755 --- a/bashrc +++ b/bashrc @@ -68,10 +68,10 @@ elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term echo "Emacs Term" fi -if test -f /etc/issue -then - cat /etc/issue -fi +# if test -f /etc/issue +# then +# cat /etc/issue +# fi ################################### # some aliases and functions @@ -108,6 +108,7 @@ alias aptsearch="apt-cache search" alias aptshow="apt-cache show" alias yt=yaourt +null type pacman-color && alias pacman=pacman-color export PACMAN=pacman-color alias ubuntu-upgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes" diff --git a/profile b/profile index 86c953c..e7c860a 100755 --- a/profile +++ b/profile @@ -1,7 +1,7 @@ #!/bin/sh # export PS1="\$ " -export LANG=ja_JP.UTF-8 +export LANG=C # ja_JP.UTF-8 export LC_TIME=C export TERMCAP="${TERMCAP}:vb=" export HOSTNAME @@ -9,6 +9,8 @@ export BROWSER=firefox export ENV=~/.shrc # export TMP=/tmp # export TEMP=/tmp +test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc" +export PYTHONPATH=~/.py addtopath(){ for p in "$@" @@ -19,10 +21,7 @@ addtopath(){ # export PATH="${PATH}:${HOME}/bin" addtopath ${HOME}/bin -test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc" -export PYTHONPATH=~/.py - -type setterm >/dev/null 2>&1 && setterm -blank 3 -powersave on # -powerdown 10 +type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 # in my environment powerdown does not work env > $HOME/.env.txt