dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b4f34eb49205c8352c584ab91c253d2b12963717
parent 6d2d608e28eb589bd5fa58bdd8730af0c2695bb5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 May 2020 16:25:50 +0200

Make curl silent for wanip() and fix typo in create_repo() help text

Diffstat:
M.profile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.profile b/.profile @@ -62,7 +62,7 @@ create_repo() { user="git" host="src.adamsgaard.dk" if [ $# -lt 1 ]; then - printf 'usage: create-repo name\n' >&2 + printf 'usage: create_repo name\n' >&2 return 1 fi if ssh "${user}@${host}" "./create-repo.sh ${1}"; then @@ -120,7 +120,7 @@ ddg() { w3m "https://duckduckgo.com/lite?q=$*&fd=-1" } -alias wanip='curl https://ipinfo.io/ip' +alias wanip='curl -s https://ipinfo.io/ip' news() { if [ $# -eq 0 ] || [ "$1" = "npr" ]; then url="https://text.npr.org"