From a7f7bf99e477912af0deee35a947c400ce604c5c Mon Sep 17 00:00:00 2001 From: Rico Ullmann Date: Sun, 15 May 2016 13:27:16 +0200 Subject: [PATCH] fix nsgrep --- functions/nsgrep.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/nsgrep.fish b/functions/nsgrep.fish index 9beeba0..95ce1c5 100644 --- a/functions/nsgrep.fish +++ b/functions/nsgrep.fish @@ -6,7 +6,7 @@ function nsgrep --description 'show open ports for $argv' return 1 case 1 - netstat -tulpen | grep $1 | grep -v grep + netstat -tulpen | grep $argv | grep -v grep case \* echo "Only 1 argument is valid!"