From 37a8fdebd1e5c9bbe5bbac6345bc45079f1198da Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 12 Oct 2015 14:40:23 +1300 Subject: Don't require fnl() arg is a command Allow builtins, functions --- bash/bashrc.d/fnl.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/bashrc.d/fnl.bash b/bash/bashrc.d/fnl.bash index 09d1af61..9f894654 100644 --- a/bash/bashrc.d/fnl.bash +++ b/bash/bashrc.d/fnl.bash @@ -31,7 +31,7 @@ fnl() { # Run the command and save its exit status local ret - command "$@" >"$dir"/stdout 2>"$dir"/stderr + "$@" >"$dir"/stdout 2>"$dir"/stderr ret=$? # Note these are *not* local variables -- cgit v1.2.3