From b9978f9294658038a9497162f71655fc4874bc93 Mon Sep 17 00:00:00 2001 From: thomasba Date: Tue, 22 Nov 2016 22:24:14 +0100 Subject: [PATCH] New helper function --- zsh/commands | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsh/commands b/zsh/commands index b6c8ea3..4ac1219 100644 --- a/zsh/commands +++ b/zsh/commands @@ -77,6 +77,14 @@ function wim() { echo " $0 " fi } +function cim() { + if [ -n "$1" ] ; then + curl -s "$1"|vim - + else + echo "Usage:" + echo " $0 " + fi +} function expand() { wget -S -O /dev/null $1 2>&1 |grep "^\s*Location" }