diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-12 14:40:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-12 14:40:23 +1300 |
commit | 37a8fdebd1e5c9bbe5bbac6345bc45079f1198da (patch) | |
tree | f683439121c451c9826c2eb1f38ebc2ac8788ced | |
parent | New function fnl() (diff) | |
download | dotfiles-37a8fdebd1e5c9bbe5bbac6345bc45079f1198da.tar.gz dotfiles-37a8fdebd1e5c9bbe5bbac6345bc45079f1198da.zip |
Don't require fnl() arg is a command
Allow builtins, functions
-rw-r--r-- | bash/bashrc.d/fnl.bash | 2 |
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 |