@@ -68,10 +68,10 @@ elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term | |||||
echo "Emacs Term" | echo "Emacs Term" | ||||
fi | 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 | # some aliases and functions | ||||
@@ -108,6 +108,7 @@ alias aptsearch="apt-cache search" | |||||
alias aptshow="apt-cache show" | alias aptshow="apt-cache show" | ||||
alias yt=yaourt | alias yt=yaourt | ||||
null type pacman-color && alias pacman=pacman-color | |||||
export 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" | alias ubuntu-upgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes" | ||||
@@ -1,7 +1,7 @@ | |||||
#!/bin/sh | #!/bin/sh | ||||
# export PS1="\$ " | # export PS1="\$ " | ||||
export LANG=ja_JP.UTF-8 | |||||
export LANG=C # ja_JP.UTF-8 | |||||
export LC_TIME=C | export LC_TIME=C | ||||
export TERMCAP="${TERMCAP}:vb=" | export TERMCAP="${TERMCAP}:vb=" | ||||
export HOSTNAME | export HOSTNAME | ||||
@@ -9,6 +9,8 @@ export BROWSER=firefox | |||||
export ENV=~/.shrc | export ENV=~/.shrc | ||||
# export TMP=/tmp | # export TMP=/tmp | ||||
# export TEMP=/tmp | # export TEMP=/tmp | ||||
test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc" | |||||
export PYTHONPATH=~/.py | |||||
addtopath(){ | addtopath(){ | ||||
for p in "$@" | for p in "$@" | ||||
@@ -19,10 +21,7 @@ addtopath(){ | |||||
# export PATH="${PATH}:${HOME}/bin" | # export PATH="${PATH}:${HOME}/bin" | ||||
addtopath ${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 | # in my environment powerdown does not work | ||||
env > $HOME/.env.txt | env > $HOME/.env.txt |