Browse Source

misc changes

pull/1/head
10sr 12 years ago
parent
commit
c5f8f7343d
2 changed files with 9 additions and 9 deletions
  1. +5
    -4
      bashrc
  2. +4
    -5
      profile

+ 5
- 4
bashrc View File

@@ -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"


+ 4
- 5
profile View File

@@ -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

Loading…
Cancel
Save