From e6e5fc23dd062ee5ed11828951bf2c85d6798db5 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 23 Jan 2021 15:34:55 +0900 Subject: [PATCH] No work around fish --no-execute unknown command Current fish --no-execute fails if an unknown command is detected. Because functions are never defined it's not very useful for us. fish-shell/fish-shell#977 --- functions/fishtape.fish | 3 --- 1 file changed, 3 deletions(-) diff --git a/functions/fishtape.fish b/functions/fishtape.fish index 8fa8f5f..7759f92 100644 --- a/functions/fishtape.fish +++ b/functions/fishtape.fish @@ -14,9 +14,6 @@ function fishtape --description "Test scripts, functions, and plugins in Fish" if test ! -f $file echo "fishtape: Invalid file or file not found: \"$file\"" >&2 return 1 - else if ! fish --no-execute $file - echo "fishtape: Syntax errors found in file: \"$file\"" >&2 - return 1 end end