From fa938d9df509a2138a827e1e3b501a2fe14e373d Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Fri, 17 Jul 2020 14:53:14 +0200 Subject: [PATCH] feature: check spelling of remote files via fn(x) --- dot_zsh_functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_zsh_functions b/dot_zsh_functions index d4c1f19..84b68d5 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -278,6 +278,10 @@ function checkenlist() { aspell -d en list < "$1" | sort --unique --ignore-case } +function checkenremote() { + curl -Lks "$1" > /tmp/file && checkenlist /tmp/file +} + # File stats helpers # Find files bigger than X size and sort them by size function biggerthan() {