diff options
author | David Morgan <david.morgan@gmail.com> | 2016-07-29 15:54:40 +0100 |
---|---|---|
committer | David Morgan <david.morgan@gmail.com> | 2016-07-29 15:54:40 +0100 |
commit | f5d7d18c9edeabb691f8ab24703bed284560eea6 (patch) | |
tree | a4e1a2ab3e4f43a7d39955a975b67f55661fccaa | |
parent | 6177533de9c421b3c21afed9896ece3e0178bbc1 (diff) | |
download | dotfiles-f5d7d18c9edeabb691f8ab24703bed284560eea6.tar.gz |
Minor bashrc updates
-rw-r--r-- | .bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc index ecc9a5a..6e2c700 100644 --- a/.bashrc +++ b/.bashrc @@ -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 } |