rev
This commit is contained in:
parent
99ae1fdc38
commit
128d547e8e
52
.profile
52
.profile
@ -1,54 +1,52 @@
|
||||
# works best with bash shell
|
||||
PATH="$HOME/.local/bin/:$PATH"
|
||||
|
||||
export SSL_CERT_DIR=/usr/pkg/etc/openssl/certs
|
||||
export LYNX_LSS="$HOME/lynx.lss"
|
||||
export LD_LIBRARY_PATH=$HOME/.local/lib
|
||||
|
||||
MAIL=/mail/${LOGNAME:?}
|
||||
EDITOR=/usr/pkg/bin/nano
|
||||
TERM=xterm
|
||||
LANG=en_US.UTF-8
|
||||
export SSL_CERT_DIR=/usr/pkg/etc/openssl/certs
|
||||
export MAIL PS1 TERM EDITOR VISUAL LANG
|
||||
|
||||
export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||
export LYNX_LSS="$HOME/lynx.lss"
|
||||
|
||||
#not optimal
|
||||
#export SCREENDIR=$HOME/.screen/$hostname
|
||||
|
||||
TERM=vt100
|
||||
PS1="[\A] \[\e[36m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
export MAIL PS1 TERM EDITOR VISUAL
|
||||
|
||||
stty erase '^?' echo
|
||||
|
||||
if [ "$HOSTNAME" = "otaku" ]; then
|
||||
PS1="[\A] \[\e[36m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
PS1="[\A] \[\e[36m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
fi
|
||||
|
||||
if [ "$HOSTNAME" = "rie" ]; then
|
||||
PS1="[\A] \[\e[33m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
PS1="[\A] \[\e[33m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
fi
|
||||
|
||||
if [ "$HOSTNAME" = "vinland" ]; then
|
||||
PS1="[\A] \[\e[31m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
PS1="[\A] \[\e[31m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
fi
|
||||
|
||||
if [ "$HOSTNAME" = "sverige" ]; then
|
||||
echo velcom to sveeeden
|
||||
echo velcom to sveeeden
|
||||
fi
|
||||
|
||||
stty erase '^?' echoe
|
||||
|
||||
# guestbook optional
|
||||
#/usr/pkg/bin/guestbook -l 20
|
||||
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
#are you sure?
|
||||
alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
alias mv='mv -i'
|
||||
|
||||
|
||||
function anonradio () {
|
||||
curl -s https://anonradio.net/schedule/schedule.txt
|
||||
curl -s https://anonradio.net/schedule/ | sed 's/<[^>]*>//g'
|
||||
}
|
||||
|
||||
anonradio
|
||||
LANG=en_US.UTF-8
|
||||
TERM=xterm
|
||||
export LANG TERM
|
||||
|
||||
echo
|
||||
echo
|
||||
#anonradio
|
||||
echo
|
||||
echo
|
||||
echo "Welcome to the SDF Public Access UNIX system. (est. 1987)"
|
||||
echo
|
||||
notes -c
|
||||
echo
|
Loading…
Reference in New Issue
Block a user