change anonradio to function and schedule.txt

This commit is contained in:
BriannaFoxwell 2022-07-07 15:34:22 +01:00
parent 6672107b91
commit 1eb68b06cf
Signed by: utsuho
GPG Key ID: 8162F60A581FE151
1 changed files with 7 additions and 3 deletions

View File

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