change anonradio to function and schedule.txt
This commit is contained in:
parent
6672107b91
commit
1eb68b06cf
10
.profile
10
.profile
|
@ -1,11 +1,12 @@
|
|||
# works best with bash shell
|
||||
MAIL=/mail/${LOGNAME:?}
|
||||
EDITOR=/usr/pkg/bin/nano
|
||||
TERM=vt100
|
||||
TERM=xterm
|
||||
LANG=en_US.UTF-8
|
||||
PS1="[\A] \[\e[36m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]:\w \[\e[31m\]\[\e[m\]\\$ "
|
||||
stty erase '^?' echoe
|
||||
|
||||
export MAIL PS1 TERM EDITOR VISUAL
|
||||
export MAIL PS1 TERM EDITOR VISUAL LANG
|
||||
|
||||
# guestbook optional
|
||||
#/usr/pkg/bin/guestbook -l 20
|
||||
|
@ -13,7 +14,10 @@ export MAIL PS1 TERM EDITOR VISUAL
|
|||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
alias anonradio="curl -s https://anonradio.net/schedule/ | sed 's/<[^>]*>//g'"
|
||||
|
||||
function anonradio () {
|
||||
curl -s https://anonradio.net/schedule/schedule.txt
|
||||
}
|
||||
|
||||
anonradio
|
||||
echo "Welcome to the SDF Public Access UNIX system. (est. 1987)"
|
||||
|
|
Loading…
Reference in New Issue