Explorar el Código

misc changes

pull/1/head
10sr hace 12 años
padre
commit
c5f8f7343d
Se han modificado 2 ficheros con 9 adiciones y 9 borrados
  1. +5
    -4
      bashrc
  2. +4
    -5
      profile

+ 5
- 4
bashrc Ver fichero

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

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

Cargando…
Cancelar
Guardar