Minor bashrc updates

This commit is contained in:
David Morgan 2016-07-29 15:54:40 +01:00
parent 6177533de9
commit f5d7d18c9e
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ alias vibinclean="rm ~/bin/*~"
alias trunc="colrm 80"
alias pc="pocket-cli.py"
alias pp='pushbullet push "LGE Nexus 4" link "${1}" "${1}"'
alias pp='pushbullet push "OnePlus" link "${1}" "${1}"'
[ ! -x "$(command -v fetch)" -a -x "$(command -v wget)" ] && alias fetch="wget"
[ -f /etc/debian_version ] && alias psearch="apt-cache search"
@ -486,7 +486,7 @@ function check()
{
while read i ; do
#wget --quiet -O- "${i}" | sed -n 's/<title>\([^|]*\).*/\1/p'
wget --quiet -O- "${i}" | sed -n 's/<title>\([^|<]*\).*/\1/p'
wget --quiet -O- "${i}" | sed -n 's/\s*<title>\([^|<]*\).*/\1/p'
done < ${HOME}/urls.txt
}