aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-10-12 14:40:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-10-12 14:40:23 +1300
commit37a8fdebd1e5c9bbe5bbac6345bc45079f1198da (patch)
treef683439121c451c9826c2eb1f38ebc2ac8788ced
parentNew function fnl() (diff)
downloaddotfiles-37a8fdebd1e5c9bbe5bbac6345bc45079f1198da.tar.gz
dotfiles-37a8fdebd1e5c9bbe5bbac6345bc45079f1198da.zip
Don't require fnl() arg is a command
Allow builtins, functions
-rw-r--r--bash/bashrc.d/fnl.bash2
1 files changed, 1 insertions, 1 deletions
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